Error
Also written: errors, error value, error message
A value of the built-in `error` type that describes what went wrong, or `nil` if nothing did. A function that can fail returns one as its last result, and you check it with `if err != nil`.
Also written: errors, error value, error message
A value of the built-in `error` type that describes what went wrong, or `nil` if nothing did. A function that can fail returns one as its last result, and you check it with `if err != nil`.