Skip to content

Throw custom errors for each error thrown by Hummingbird #735

@adam-fowler

Description

@adam-fowler

In situations where Hummingbird throws an HTTPError it should throw an error conforming to HTTPResponseError specific to that situation. This would allow users of the framework to catch specific errors and return their own custom response error. See #732

Not all situations need this but some do including

  • Decoding request bodies, query parameters
  • Parameter conversions

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeChange that requires a major version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions