Crates.io | iron-error-router |
lib.rs | iron-error-router |
version | 0.3.0 |
source | src |
created_at | 2016-03-19 20:29:50.835697 |
updated_at | 2017-01-11 22:59:55.481068 |
description | Map HTTP status codes to handlers and middlewares. |
homepage | https://github.com/untitaker/iron-error-router |
repository | https://github.com/untitaker/iron-error-router |
max_upload_size | |
id | 4486 |
size | 7,309 |
A Iron middleware for showing custom error pages for specific statuses.
Currently the middleware will check if a body has not yet been set for the
response, and will invoke a custom AfterMiddleware
or Handler
,
depending on the response's status.
See /examples/
for usage.
Licensed under the MIT, see LICENSE
.