Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
Error is an error that contains a code, an external message, and a wrapped error.
func ErrorWithCodef ¶
func (Error) Error ¶
Error returns the ExternalMsg if it is set, otherwise it returns the error message of the wrapped error.
func (Error) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Error) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.