OnErrorCode registers a handlers chain for this `Party` for a specific HTTP status code. Read more at: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml Look `UseError` and `OnAnyErrorCode` too.
(statusCode int, handlers ...context.Handler)
| 139 | // Read more at: http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml |
| 140 | // Look `UseError` and `OnAnyErrorCode` too. |
| 141 | OnErrorCode(statusCode int, handlers ...context.Handler) []*Route |
| 142 | // OnAnyErrorCode registers a handlers chain for all error codes |
| 143 | // (4xxx and 5xxx, change the `ClientErrorCodes` and `ServerErrorCodes` variables to modify those) |
| 144 | // Look `UseError` and `OnErrorCode` too. |
no outgoing calls