Skip to content

Exception handling from the infrastructure #2

@AbrahamXTS

Description

@AbrahamXTS

What would be the best way to handle exceptions thrown from the service layer? 🤔

Express is very coupled to the fact that when you throw the error you call the next function with the error as a parameter so that these are handled by an error handler middleware

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions