diff options
Diffstat (limited to 'src/error.rs')
| -rw-r--r-- | src/error.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/error.rs b/src/error.rs index b700eaa..21caeda 100644 --- a/src/error.rs +++ b/src/error.rs @@ -9,10 +9,7 @@ use axum::{ // complex (though very usable). We don't need to be overly careful about // allocations on errors in this app, so this is fine for most "general // failure" cases. -// -// If that changes, my hope is to use `thiserror` or something with a similar -// strategy, before resorting to `anyhow`. -pub type BoxedError = Box<dyn error::Error + Send + Sync>; +type BoxedError = Box<dyn error::Error + Send + Sync>; // Returns a 500 Internal Server Error to the client. Meant to be used via the // `?` operator; _does not_ return the originating error to the client. |
