Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler struct {
// contains filtered or unexported fields
}
ErrorHandler defines handler for error response
func NewErrorHandler ¶
func NewErrorHandler(logger log.Logger) *ErrorHandler
func (*ErrorHandler) ErrorxProtoErrorHandler ¶
func (h *ErrorHandler) ErrorxProtoErrorHandler(ctx context.Context, mux *runtime.ServeMux, marshaler runtime.Marshaler, w http.ResponseWriter, r *http.Request, err error)
ErrroxProtoErrorHandler convert error proto message into gogox error.
Click to show internal directories.
Click to hide internal directories.