Documentation
¶
Index ¶
- func Is(err error, target error, others ...error) bool
- func Iss(err error, targets ...error) bool
- func Join(err error, other error) error
- func JoinByFormat(err error, other error, format string) error
- type ErrorWraperConfigs
- type RichError
- func (err RichError) Attributes() []any
- func (err RichError) Code() error
- func (err RichError) Description() string
- func (err RichError) Detail() error
- func (err RichError) Error() string
- func (err RichError) Event() string
- func (err RichError) Hide(detail error, event string, attributes ...any) RichError
- func (err RichError) Reduce() error
- func (err RichError) Unwrap() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorWraperConfigs ¶
type ErrorWraperConfigs struct {
// contains filtered or unexported fields
}
func NewWrapperConfigs ¶
func NewWrapperConfigs(defaultErr RichError, goodErrors ...error) *ErrorWraperConfigs
type RichError ¶
type RichError struct {
// contains filtered or unexported fields
}
func (RichError) Attributes ¶
func (RichError) Description ¶
Click to show internal directories.
Click to hide internal directories.