Documentation
¶
Index ¶
- func EmptyCollection(action string) terrors.TError
- func InvalidArgCount(max, count int, usage string) terrors.TError
- func New(msg string, errs ...error) terrors.TError
- func NilArg(name string) terrors.TError
- func OutOfBounds(index, count int) terrors.TError
- func RecoveredPanic(r any) terrors.TError
- func ToString(err error) string
- func UnstableIteration() terrors.TError
- func Unwrap(err error) []error
- type Iterator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyCollection ¶
EmptyCollection creates a no values in collection error.
func InvalidArgCount ¶
InvalidArgCount creates an invalid number of arguments error.
func OutOfBounds ¶
OutOfBounds creates an index out of bounds error.
func RecoveredPanic ¶
RecoveredPanic creates an error for a recovered panic.
func ToString ¶
ToString constructs a long detailed string for the whole tree of errors following this error.
func UnstableIteration ¶
UnstableIteration creates an error for when a collection is modified in a way that could make continuing any iteration for that collection unstable.
Types ¶
Click to show internal directories.
Click to hide internal directories.