1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 12:57:05 +00:00

HandleHTTPError MVC Method as requested at #1595. Read HISTORY.md

example at: https://github.com/kataras/iris/tree/master/_examples/mvc/error-handler-http
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-22 08:04:22 +03:00
parent a018ba9b0a
commit 8e049d77c9
15 changed files with 186 additions and 16 deletions

View File

@@ -12,6 +12,10 @@ type (
Response = hero.Response
// View is a type alias for the `hero#View`, useful for output controller's methods.
View = hero.View
// Code is a type alias for the `hero#Code`, useful for
// http error handling in controllers.
// This can be one of the input parameters of the `Controller.HandleHTTPError`.
Code = hero.Code
// DeprecationOptions describes the deprecation headers key-values.
// Is a type alias for the `versioning#DeprecationOptions`.
//