DEV Community

Discussion on: A Web App in Rust - 14 Error Handling

Collapse
 
direstrepo24 profile image
direstrepo24

I think I will solve it by implementing the missing error case: ServerError :: R2D2Error => HttpResponse :: InternalServerError (). json ("r2d2 error"), in the implementation of: impl actix_web :: error :: ResponseError for ServerError