package
Version:
v0.3.3
Opens a new window with list of versions in this module.
Published: Dec 31, 2018
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Middleware catch err from handlers or middlewares.
func NewAction(message interface{}) error
NewAction .
func NewAuthorization(message interface{}) error
NewAuthorization .
func NewData(message interface{}) error
NewData .
type Error struct {
Type Type
SourceError error
}
Error .
Type .
const (
Data Type = "data"
Action Type = "action"
NotFound Type = "not-found"
Remote Type = "remote"
Authorization Type = "authorization"
)
Types
Source Files
¶
Click to show internal directories.
Click to hide internal directories.