Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorMiddleware ¶
func ErrorMiddleware() router.Middleware
Types ¶
type Conditions ¶
type ErrTerminal ¶
type ErrTerminal struct {
Cause error
}
ErrTerminal is an error that can not be recovered from until some other state in the system changes, typically from additional user input.
func NewErrTerminal ¶
func NewErrTerminal(cause error) *ErrTerminal
func NewErrTerminalf ¶
func NewErrTerminalf(format string, args ...any) *ErrTerminal
func (*ErrTerminal) Error ¶
func (e *ErrTerminal) Error() string
func (*ErrTerminal) Unwrap ¶
func (e *ErrTerminal) Unwrap() error
Click to show internal directories.
Click to hide internal directories.