Documentation ¶
Overview ¶
Package errconv provides conversion for error response for all services
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMiddleware ¶
func NewMiddleware(log *log.Logger) muxhttp.Middleware
NewMiddleware handles errors coming out of the call chain. It detects normal application errors which are used to respond to the cli in a uniform way. Unexpected errors (status >= 500) are logged.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.