Documentation ¶
Index ¶
- func Append(left error, right error) error
- func AppendInto(into *error, err error) (errored bool)
- func AppendInvoke(into *error, invoker Invoker)
- func Combine(errors ...error) error
- func ErrOnce(fn func() error) func() error
- func Errors(err error) []error
- type DeferStack
- type Invoke
- type Invoker
- type TraceError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendInto ¶
func AppendInvoke ¶
Types ¶
type DeferStack ¶
type DeferStack struct {
// contains filtered or unexported fields
}
func NewDeferStack ¶
func NewDeferStack() *DeferStack
func (*DeferStack) Call ¶
func (ds *DeferStack) Call() (err error)
func (*DeferStack) Defer ¶
func (ds *DeferStack) Defer(fn func())
func (*DeferStack) DeferErr ¶
func (ds *DeferStack) DeferErr(fn func() error)
type TraceError ¶
type TraceError struct {
Err error
}
Click to show internal directories.
Click to hide internal directories.