OnAnyErrorCode registers a handlers chain for all error codes (4xxx and 5xxx, change the `ClientErrorCodes` and `ServerErrorCodes` variables to modify those) Look `UseError` and `OnErrorCode` too.
(handlers ...context.Handler)
| 143 | // (4xxx and 5xxx, change the `ClientErrorCodes` and `ServerErrorCodes` variables to modify those) |
| 144 | // Look `UseError` and `OnErrorCode` too. |
| 145 | OnAnyErrorCode(handlers ...context.Handler) []*Route |
| 146 | |
| 147 | // Party returns a new child Party which inherites its |
| 148 | // parent's options and middlewares. |
no outgoing calls