1
0
mirror of https://github.com/kataras/iris.git synced 2026-01-07 12:07:28 +00:00

HTTP error handlers per Party (docs and details in progress)

Former-commit-id: 7092ebed556b56d9f1769b9b23f2340c2a3a18f7
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-05-11 00:44:54 +03:00
parent 3657aaf240
commit c039730521
18 changed files with 434 additions and 306 deletions

View File

@@ -17,6 +17,10 @@ type RouteReadOnly interface {
// Name returns the route's name.
Name() string
// StatusErrorCode returns 0 for common resource routes
// or the error code that an http error handler registered on.
StatusErrorCode() int
// Method returns the route's method.
Method() string