Versions in this module Expand all Collapse all v0 v0.1.0 Jun 18, 2021 Changes in this version + func FmtStateToString(fs fmt.State) string + func FormatNonFormatter(fs fmt.State, verb rune, nonFormatter interface{}) + func GetStack(skip int) errors.StackTrace + func SignalsToContext(ctx context.Context, signals ...os.Signal) (child context.Context, reason <-chan os.Signal) + type AdvancedError struct + Err error + Stack errors.StackTrace + func (ae AdvancedError) Cause() error + func (ae AdvancedError) Error() string + func (ae AdvancedError) Format(fs fmt.State, verb rune) + func (ae AdvancedError) MarshalJSON() ([]byte, error) + func (ae AdvancedError) MarshalText() (text []byte, err error) + func (ae AdvancedError) StackTrace() errors.StackTrace + func (ae AdvancedError) String() string + func (ae AdvancedError) Unwrap() error + type Causer interface + Cause func() error + type ElasticQueue struct + func NewElasticQueue(ctx context.Context) *ElasticQueue + func (eq *ElasticQueue) Enqueue(_ int64, f func(context.Context)) + func (eq *ElasticQueue) Wait() + type ErrorGroup struct + func NewErrorGroup(ctx context.Context, concurrency int64) *ErrorGroup + func (eg *ErrorGroup) Go(weight int64, f func(context.Context) ErrorWithStack) + func (eg *ErrorGroup) Wait() ErrorWithStack + type ErrorWithStack interface + func AttachStackToError(err error, skip int) ErrorWithStack + type Formatable struct + Error ErrorWithStack + Flags map[int]struct{} + HasPrec bool + HasWid bool + Output io.Writer + Prec int + Wid int + func (f *Formatable) Flag(c int) bool + func (f *Formatable) Precision() (int, bool) + func (f *Formatable) Width() (int, bool) + func (f *Formatable) Write(b []byte) (n int, err error) + type LimitedQueue struct + func NewLimitedQueue(ctx context.Context, concurrency int64) *LimitedQueue + func (lq *LimitedQueue) Enqueue(weight int64, f func(context.Context)) + func (lq *LimitedQueue) Wait() + type RunQueue interface + Enqueue func(weight int64, f func(context.Context)) + Wait func() + type StackTracer interface + StackTrace func() errors.StackTrace + type Unwrapper interface + Unwrap func() error