aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src/errors.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-11-11 02:32:46 +0100
committerTeddy Wing2018-11-11 02:32:46 +0100
commit452c17a271258324ab7f84fb880c12f2e0d8472f (patch)
tree956652a8362605dcfdff1340c0b7283cb5db5822 /license-generator/src/errors.rs
parentedf6fceedd9b4169ceb63172c60733ef84d78951 (diff)
downloaddome-key-web-452c17a271258324ab7f84fb880c12f2e0d8472f.tar.bz2
Extract 403 and 405 errors to functions
Like what I did in edf6fceedd9b4169ceb63172c60733ef84d78951 for 500 errors, extract these errors to functions also. Doesn't give us any gains in terms of reusability like it did before, as we're only responding with each of these errors once, but it does clean up the code in the `main()` function a bit.
Diffstat (limited to 'license-generator/src/errors.rs')
0 files changed, 0 insertions, 0 deletions