Skip to content

Add ability to add an error response override #7

@Gowiem

Description

@Gowiem

The current error response from email-service is to include the error message in a json payload under the key error. This is useful for development, but for more advanced purposes it would be ideal to allow for customization of this error response. Specifically, the company I am working for has standardized an error response from our APIs that I'd like our running version of email-service to conform to.

I'm going to fork and put together a working example, but want to raise this issue so I can get feedback if there is a particular way you folks would like this done.

Thanks for the great service! Will report back with a PR within the next week or so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions