Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsSystemError ¶
IsSystemError will unwrap err to the innermost error value and return whether it is a SystemError.
func IsUserError ¶
IsUserError will unwrap err to the innermost error value and return whether it is a UserError.
func SystemError ¶
SystemError annotates err in such a way that IsSystemError() can be used further up in the callstack. If err is a wrapped error, the root error will be unwrapped, annotated and rewrapped instead. The root error stack trace is preserved but any middle ones are lost.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.