Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrKeyNotFound = NewTerminalError(fmt.Errorf("key not found"), 404)
)
Functions ¶
func ErrorFromFailure ¶
func NewTerminalError ¶
Types ¶
type TerminalError ¶
type TerminalError struct {
Inner error
}
func (*TerminalError) Error ¶
func (e *TerminalError) Error() string
func (*TerminalError) Unwrap ¶
func (e *TerminalError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.