HUGO
Menu
GitHub 87994 stars Mastodon

Err

Applicable to resources returned by the resources.GetRemote function, returns an error message if the HTTP request fails, else nil.

Syntax

RESOURCE.Err

Returns

resource.resourceError

Deprecated in v0.141.0

Use the try statement instead. See example.


Last updated: January 1, 0001
Improve this page