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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user