EpochtalkServerWeb.GuardianErrorHandler (epochtalk_server v0.1.0)
Helper module which intercepts guardian errors.
Link to this section Summary
Functions
This is used to convert errors coming out of the guardian pipelines into a json error, Renders error tuples received from guardian pipeline into a json error response.
Link to this section Functions
Link to this function
auth_error(conn, arg, opts)
This is used to convert errors coming out of the guardian pipelines into a json error, Renders error tuples received from guardian pipeline into a json error response.