Skip to content

errorHandler.js default: #2

@dilshansameera

Description

@dilshansameera

Nice explanation Dipesh.
By setting the default on we cannot catch other error types right?
As an example, I get "No Error, All good !" when the code throws CastError when I try to call findById with a random text or number as the id para.
Any workaround for this?

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