Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleError ¶
type SimpleError struct {
Message string
}
SimpleError provides a simple type for type based error handling. This type can hold a message that is returned upon Error().
func (SimpleError) Error ¶
func (s SimpleError) Error() string
Click to show internal directories.
Click to hide internal directories.