Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error interface {
// Error implements error.
Error() string
// Has tests to see if the test error exists anywhere in the error
// stack.
Has(error) bool
// Is tests to see if the test error matches most recent error in the
// stack.
Is(error) bool
}
Error defines a robust error stack interface.
type ErrorCaller ¶
type ErrorCaller interface {
// Caller returns the associated Caller instance.
Caller() std_caller.Caller
}
ErrorCaller is the interface implemented by error types that can expose caller information about themselves.
type ErrorWrapper ¶
Click to show internal directories.
Click to hide internal directories.