Skip to content

Error Handling #1836

@anandkumarpatel

Description

@anandkumarpatel

I think we should move from BOOM to Class errors.

why? We use promises so with class errors we can do .catch easier

also have all find functions throw if not found.

  • maybe make all common errors in base model so all the models have NotFound, IncorrectState ...etc

also need a Class to BOOM converter for frontend purposes.

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