Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DefaultMapper ¶
type DefaultMapper struct{}
func (DefaultMapper) MapError ¶
func (DefaultMapper) MapError(_ context.Context, _ httpadapter.MethodSpec, err error) *HTTPError
type DefaultWriter ¶
type DefaultWriter struct{}
func (DefaultWriter) WriteError ¶
func (DefaultWriter) WriteError(_ context.Context, resp Response, _ httpadapter.MethodSpec, err *HTTPError) error
type ErrorMapper ¶
type ErrorMapper interface {
MapError(context.Context, httpadapter.MethodSpec, error) *HTTPError
}
type ErrorWriter ¶
type ErrorWriter interface {
WriteError(context.Context, Response, httpadapter.MethodSpec, *HTTPError) error
}
Click to show internal directories.
Click to hide internal directories.