Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrorValue = errors.New("this is a typed error")
Functions ¶
func BasicErrors ¶
func BasicErrors()
Types ¶
type CustomError ¶
type CustomError struct {
Result string
}
func (CustomError) Error ¶
func (c CustomError) Error() string
type TypedError ¶
type TypedError struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.