Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrMsgCannotBeNil = "cannot be nil" ErrMsgCannotBeBlank = "cannot be blank" )
Variables ¶
View Source
var ( InternalErrorType = &InternalError{} InvalidArgumentErrorType = &InvalidArgumentError{} UnknownErrorType = &UnknownError{} NotFoundErrorType = &NotFoundError{} )
Functions ¶
This section is empty.
Types ¶
type InternalError ¶
type InternalError struct {
// contains filtered or unexported fields
}
func NewInternalError ¶
func NewInternalError(msg string, err error) *InternalError
type InvalidArgumentError ¶
type InvalidArgumentError struct {
// contains filtered or unexported fields
}
func NewInvalidArgumentError ¶
func NewInvalidArgumentError(arg, msg string) *InvalidArgumentError
type NotFoundError ¶
type NotFoundError struct {
// contains filtered or unexported fields
}
func NewNotFoundError ¶
func NewNotFoundError(msg string, err error) *NotFoundError
type UnknownError ¶
type UnknownError struct {
// contains filtered or unexported fields
}
func NewUnknownError ¶
func NewUnknownError(msg string, err error) *UnknownError
Click to show internal directories.
Click to hide internal directories.