Use Exceptions for Plug Errors
Offen
enhancement
- Vorherrschende Sprache
- Elixir
- Sterne
- 17
- Forks
- 17
- Ø Merge
- 25 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
### Description
Instead of using callbacks to manipulate the response, plugs should raise exceptions for authentication errors.
The user can then implement custom error views to adapt the responses.
Additionally: Add some details of internal errors like unsuccessful internal HTTP requests to the existing errors messages. It should however not include the whole reason since that can contain confidential information like client secrets.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.