Documentation ¶
Overview ¶
Package types export types that are used by all the library packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrCoerceInvalid = coerce.ErrInvalid ErrCoerceOverflow = coerce.ErrOverflow ErrCoerceUnsupported = coerce.ErrUnsupported ErrCoerceUnknown = fmt.Errorf("coerce: unknown type") )
Functions ¶
This section is empty.
Types ¶
type CoerceError ¶
type CoerceError struct {
// contains filtered or unexported fields
}
func NewCoerceError ¶
func NewCoerceError(innerErr error) CoerceError
func (CoerceError) Error ¶
func (c CoerceError) Error() string
func (CoerceError) Unwrap ¶
func (c CoerceError) Unwrap() error
type InvalidDecodeError ¶
An InvalidDecodeError describes an invalid argument passed to Decode. (The argument to Decode must be a non-nil pointer.)
func (*InvalidDecodeError) Error ¶
func (e *InvalidDecodeError) Error() string
type OperationNotSupportedError ¶
A OperationNotSupportedError is returned when an operation is not supported on the field.
func (OperationNotSupportedError) Error ¶
func (e OperationNotSupportedError) Error() string
type RequiredError ¶
A RequiredError is returned when some values were not used.
func (RequiredError) Error ¶
func (e RequiredError) Error() string
type ValuesNotUsedError ¶
type ValuesNotUsedError struct {
Operation string
}
An ValuesNotUsedError is returned when some values were not used.
func (ValuesNotUsedError) Error ¶
func (e ValuesNotUsedError) Error() string
Click to show internal directories.
Click to hide internal directories.