-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
web/error: remove intermediate
ErrorResponse
type again
Saves 11 lines of code, 7 comment lines, and the indirection via intermediate type, but adds a function (`redirect_with_policy`) instead.
- Loading branch information
Showing
1 changed file
with
70 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters