Skip to content

Core::throwError should throw error and not an object #21

@wodka

Description

@wodka

Currently the throwError static function will return an object and not an error.

static throwError(callBack,type,httpStatusCode, errorCode, message, detail?) {

This makes it problematic in terms of using it in other error management tools like Sentry.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Waiting_on_requestorIssues/PR where we have responded and are currently waiting on the requestor to respond back

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions