Skip to content

Make sure to specify an error code #5

Description

@cchauche

.catch((err) => res.send(err));

Make sure you are sending an error code along with the error messages. The client wont know its an error if there is no error code (4XX or 5XX) in the response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions