# Functions
Cause returns the root cause error of `err`.
Code returns the error code of current error.
Current creates and returns the current level error.
Equal reports whether current error `err` equals to error `target`.
HasCode checks and reports whether `err` has `code` in its chaining errors.
HasError is alias of Is, which more easily understanding semantics.
HasStack checks and reports whether `err` implemented interface `gerror.IStack`.
Is reports whether current error `err` has error `target` in its chaining errors.
New creates and returns an error which is formatted from given text.
NewCode creates and returns an error that has error code and given text.
NewCodef returns an error that has error code and formats as the given format and args.
NewCodeSkip creates and returns an error which has error code and is formatted from given text.
NewCodeSkipf returns an error that has error code and formats as the given format and args.
Newf returns an error that formats as the given format and args.
NewMultiError creates and returns an Error with error splice.
NewOption creates and returns a custom error with Option.
NewSkip creates and returns an error which is formatted from given text.
NewSkipf returns an error that formats as the given format and args.
Stack returns the stack callers as string.
Unwrap returns the next level error.
Wrap wraps error with text.
WrapCode wraps error with code and text.
WrapCodef wraps error with code and format specifier.
WrapCodeSkip wraps error with code and text.
WrapCodeSkipf wraps error with code and text that is formatted with given format and args.
Wrapf returns an error annotating err with a stack trace at the point Wrapf is called, and the format specifier.
WrapSkip wraps error with text.
WrapSkipf wraps error with text that is formatted with given format and args.
# Structs
Error is custom error for additional features.
MultiError holds multiple errors.
Option is option for creating error.
# Interfaces
ICause is the interface for Cause feature.
ICode is the interface for Code feature.
ICurrent is the interface for Current feature.
IEqual is the interface for Equal feature.
IIs is the interface for Is feature.
IStack is the interface for Stack feature.
IUnwrap is the interface for Unwrap feature.