Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingHandler ¶
LoggingHandler wraps the handler with logger
func NewRecoverableError ¶
NewRecoverableError returns new recoverable error
func NewUnRecoverableError ¶
NewUnRecoverableError returns new unrecoverable error
Types ¶
type RecoverableError ¶
type RecoverableError struct {
// contains filtered or unexported fields
}
RecoverableError is an error for recoverable state
func (*RecoverableError) Error ¶
func (err *RecoverableError) Error() string
Error returns error message
type UnRecoverableError ¶
type UnRecoverableError struct {
// contains filtered or unexported fields
}
UnRecoverableError is an error for unrecoverable state
func (*UnRecoverableError) Error ¶
func (err *UnRecoverableError) Error() string
Error returns error message
Click to show internal directories.
Click to hide internal directories.