aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* update to actix-web v4.0-rc.2Ali MJ Al-Nasrawy2022-02-051-4/+5
|
* Bump actix-web to v4.0-beta.15jikstra2021-12-281-11/+11
| | | | Co-authored-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* revert unnecessary changesAli MJ Al-Nasrawy2021-10-131-10/+3
|
* Fix clippy::too_many_arguments and rework error ..Ali MJ Al-Nasrawy2021-08-301-3/+94
| | | | | | | | | | | | | | | | | | | | | ... page rendering Too many arguments are moved around and many of them are already stored in MiniserveConfig. Many of these are used to render error pages. To fix this issue, it was necessary to rework error page rendering: 1. Implement `ResponseError` for `ContextualError` so that it can be returned from service handlers as is and will then be automatically logged to the console and converted into an error response. 2. At service handler level, all error responses are now rendered as plain text. 3. 'error_page_middleware' is now responsible for the rendering of the final error page from plain text reponses. Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
* Refuse to start without explicit path if not attached to interactive terminalSven-Hendrik Haase2021-03-281-23/+29
|
* Switch from failure to thiserrorSven-Hendrik Haase2021-03-201-28/+17
|
* Fix lintsSven-Hendrik Haase2021-02-191-4/+4
|
* Use actix-web-httpauth for authentication middlewareequal-l22020-07-211-7/+0
|
* Update to actix 2 and futures 0.3equal-l22020-07-211-1/+1
|
* cargo fmtboastful-squirrel2019-05-101-1/+4
|
* Undo changes on InvalidHashMethod errorboastful-squirrel2019-05-061-1/+1
|
* Display 404 errorboastful-squirrel2019-05-011-0/+4
|
* Display HTTP authentication errorsboastful-squirrel2019-05-011-0/+4
|
* Merge branch 'master' into themed-errorsboastful-squirrel2019-04-271-58/+5
|\
| * Combine ContextualError and ContextualErrorKind into onekhai96_2019-04-271-54/+4
| |
* | Improved some errorsboastful-squirrel2019-04-271-1/+1
| |
* | Merged query parameter structs + improved file upload errorsboastful-squirrel2019-04-261-0/+4
| |
* | Cargo fmtboastful-squirrel2019-04-261-1/+4
|/
* Merge remote-tracking branch 'mainrepo/master' into pullrequest.hashed-passwordkhai96_2019-04-261-70/+84
|\
| * Improved errorsboastful-squirrel2019-04-221-0/+7
| |
| * Properly log error + added render_error methodboastful-squirrel2019-04-211-0/+6
| |
| * Rework error system + avoid panics in main()boastful-squirrel2019-04-211-72/+63
|/
* Fix typosVojtěch Pejša2019-04-041-5/+5
|
* Check if we have permissions to create files.Vojtěch Pejša2019-04-041-0/+3
|
* Better error handling for file upload.Vojtěch Pejša2019-04-041-0/+17
|
* Added documentation for errors and removed useless errorsboasting-squirrel2019-03-191-4/+10
|
* Switched to standard Rust logging systemboasting-squirrel2019-03-131-12/+3
|
* Build tar in buffer instead of in tempfileboasting-squirrel2019-03-131-6/+0
|
* Added some docs comments to errors.rsboasting-squirrel2019-03-121-1/+6
|
* Improved error messageboasting-squirrel2019-03-121-2/+2
|
* Better error messages for invalid pathboasting-squirrel2019-03-121-10/+4
|
* Added some error messages + reworked the print_error_chain methodboasting-squirrel2019-03-121-6/+22
|
* Started to add helpful messages for errors which could occur during archivingboasting-squirrel2019-03-111-0/+90