Skip to content

Use actix_web::Error for top level error handling.  #81

@trueleo

Description

@trueleo

On handlers for endpoints, instead of using HttpResponse as return type it should be replaced with Result<HttpResponce, actix_web::Error>. This change is tied up to #2 and can't be implemented without these being worked on first.

Reference

Todo

  • Have smaller error types with appropriate error messages.
  • Conversion from these custom error types to actix_web::Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions