Documentation ¶
Overview ¶
Package errorcontext represents a marshalling or unmarshalling call stack for use in error messages
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorContext ¶
type ErrorContext []segment
func (ErrorContext) String ¶
func (ctx ErrorContext) String() string
func (ErrorContext) WithField ¶
func (ctx ErrorContext) WithField(n string, t reflect.Type) ErrorContext
func (ErrorContext) WithIndex ¶
func (ctx ErrorContext) WithIndex(i int, t reflect.Type) ErrorContext
func (ErrorContext) WithKey ¶
func (ctx ErrorContext) WithKey(k string, t reflect.Type) ErrorContext
Click to show internal directories.
Click to hide internal directories.