diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-18 12:16:43 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-18 12:18:58 -0400 |
| commit | 9fb4d3e561786f01352cbd14894d994ea537b5ec (patch) | |
| tree | 959ddcf4592c6140b71be38149051c56a788bcfe /src/index/app.rs | |
| parent | 2b4cf5c62ff82fa408a4f82bde0b561ff3b15497 (diff) | |
Return 404s when resources are not found.
This is implemented by making the return values, in most cases, idiosyncratic ad-hoc types that then convert to the approprate error response. This also should make endpoints more testable, since the return values can now be inspected to check their properties without having to process or parse an HTTP response.
Diffstat (limited to 'src/index/app.rs')
0 files changed, 0 insertions, 0 deletions
