Skip to content

ApiError classs inherrited from error not working  #162

@TejasM6767

Description

@TejasM6767

throw new ApiError(400,"xyz")
even we throw this ApiError on postman/broweser we get the message correct but status code 500
i tried everything but haven't fount any answers.......
Screenshot (10)
Screenshot (11)
Screenshot (12)

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