Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorStack ¶
type ErrorStack struct {
// contains filtered or unexported fields
}
func NewErrorStack ¶
func NewErrorStack(prefix string) *ErrorStack
func StackFromContext ¶
func StackFromContext(ctx context.Context) *ErrorStack
func StackToContext ¶
func StackToContext(ctx context.Context) (context.Context, *ErrorStack)
func (*ErrorStack) AppendError ¶
func (c *ErrorStack) AppendError(err error)
func (*ErrorStack) Errors ¶
func (c *ErrorStack) Errors() error
func (*ErrorStack) Pop ¶
func (c *ErrorStack) Pop()
func (*ErrorStack) Push ¶
func (c *ErrorStack) Push(i interface{})
func (*ErrorStack) PushMethod ¶
func (c *ErrorStack) PushMethod(index int, field reflect.StructField)
Click to show internal directories.
Click to hide internal directories.