MCPcopy
hub / github.com/labstack/echo / Error

Method Error

binder.go:90–92  ·  view source on GitHub ↗

Error returns error message

()

Source from the content-addressed store, hash-verified

88
89// Error returns error message
90func (be *BindingError) Error() string {
91 return fmt.Sprintf("%s, field=%s", be.HTTPError.Error(), be.Field)
92}
93
94// MarshalJSON implements json.Marshaler so that binding errors are serialized into
95// a structured response (e.g. {"field":"id","message":"..."}) rather than being

Callers 15

gracefulShutdownFunction · 0.45
TestContextFormValueFunction · 0.45
TestContextRedirectFunction · 0.45
TestContext_ValidateFunction · 0.45
TestStartConfig_StartFunction · 0.45
TestStartConfig_StartTLSFunction · 0.45
TestFilepathOrContentFunction · 0.45
TestHTTPError_ErrorFunction · 0.45
TestHTTPError_WrapUnwrapFunction · 0.45

Calls

no outgoing calls