RephiWeb.ErrorHelpers (Rephi v0.1.0)
View SourceConveniences for formatting and returning error responses. Provides consistent error formatting across the application.
Summary
Functions
Returns a bad request error response.
Returns validation errors from a changeset.
Returns a standardized error response with a single error message.
Returns a standardized error response with multiple error messages.
Returns a not found error response.
Returns an unauthorized error response.
Translates changeset errors to a map.
Functions
Returns a bad request error response.
Returns validation errors from a changeset.
Returns a standardized error response with a single error message.
Returns a standardized error response with multiple error messages.
Returns a not found error response.
Returns an unauthorized error response.
Translates changeset errors to a map.