joshheinrichs / geosource

A web application for posting and browsing spatio-temporal data. Honours project for CMPT 405.
https://geosource.usask.ca
0 stars 0 forks source link

Improve Error Codes #10

Closed joshheinrichs closed 8 years ago

joshheinrichs commented 8 years ago

Right now, most errors are labeled as internal server errors with their HTTP code, which isn't very accurate. To deal with this nicely, it would probably to define my own error type that includes both an error message and a HTTP status code, since the can't only be dealt with at the API level.

joshheinrichs commented 8 years ago

Some improvements have been made, but more importantly the structure has been set up to allow easy further improvements in the future.