client/api/error_registry.go
func (r MapErrorRegistry) Handler(code int) func(body []byte) error {
	return r.handlers[code]
}
func (r MapErrorRegistry) Handler(code int) func(body []byte) error {
	return r.handlers[code]
}
// Handler returns a handler that is registered under the provided code.