Versions in this module Expand all Collapse all v1 v1.0.4 Jul 20, 2023 v1.0.2 Jul 20, 2023 Changes in this version + func AddParentArgument(argument, parent string) string + func Append(left error, right error) error + func As(err error, target any) bool + func Is(err, target error) bool + func MakeErrors(es ...error) error + func New(text string) error + func NewSizeOutOfRange(target string, min, max, size int64, real bool) error + func ReplaceParentArgument(argument, parent string) string + func Unwrap(err error) error + type ArgumentMissing struct + Arguments []string + func NewArgumentMissing(arguments ...string) ArgumentMissing + func (e ArgumentMissing) AddParentArgument(parent string) + func (e ArgumentMissing) Error() string + func (e ArgumentMissing) ReplaceParentArgument(parent string) + type ArgumentMissingOne struct + Arguments []string + func NewArgumentMissingOne(arguments ...string) ArgumentMissingOne + func (e ArgumentMissingOne) AddParentArgument(parent string) + func (e ArgumentMissingOne) Error() string + func (e ArgumentMissingOne) ReplaceParentArgument(parent string) + type Err struct + Err error + func Wrap(err error) Err + func (e Err) Error() string + func (e Err) Unwrap() error + type ErrorGroup interface + Errors func() []error + type Errors []error + func (es Errors) Append(err error) Errors + func (es Errors) Error() string + func (es Errors) Errors() []error + func (es Errors) ToError() error + type Exist struct + Target string + func NewExist(target string) Exist + func (e Exist) Error() string + type HttpResponseError struct + Code int + Msg string + func (e *HttpResponseError) Error() string + type InvalidArgument struct + Argument string + Err error + func NewInvalidArgument(argument string, err error) *InvalidArgument + func (e *InvalidArgument) AddParentArgument(parent string) + func (e *InvalidArgument) Error() string + func (e *InvalidArgument) ReplaceParentArgument(parent string) + type InvalidModify struct + Target string + func (e *InvalidModify) Error() string + type InvalidOperation struct + Operation string + func NewInvalidOperation(operation string) InvalidOperation + func (e InvalidOperation) Error() string + type NotAvailable struct + Target string + func NewNotAvailable(target string) NotAvailable + func (e NotAvailable) Error() string + type NotFound struct + Target any + func NewNotFound(target any) NotFound + func (e NotFound) Error() string + type SizeOutOfRange struct + MaxSize int64 + MinSize int64 + RealSize bool + Size int64 + Target string + func (e *SizeOutOfRange) Error() string + type StringError string + func (s StringError) Error() string + type TaskFull struct + Action string + MaxTask int + func (e *TaskFull) Error() string