Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Message string Err error Binary string StackTrace []string Code string Source string KV []models.KeyValue }
func (*Error) Format ¶
Format satisfies the fmt.Formatter interface providing customizable formatting:
%s, %v formats all wrapped error messages concatenated with ": ". %+v, %#v does the above but also adds error parameters; "(k1=v1, k2=v2)".
func (*Error) FormatError ¶
FormatError implements the Formatter interface for optionally detailed error message rendering - see the Go 2 error printing draft proposal for details.
Click to show internal directories.
Click to hide internal directories.