Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CustomError ¶
type CustomError struct {
What string
}
A struct for returning custom error messages
func (*CustomError) Error ¶
func (e *CustomError) Error() string
Returns the error message defined in What as a string
Click to show internal directories.
Click to hide internal directories.