Skip to content

Deprecate Throwable Error #15

@lindyhopchris

Description

@lindyhopchris

ThrowableError isn't really useful because Exception::getCode() is final so cannot be overridden to provide an actual JSON API code.

Solution: deprecate ThrowableError and instead allow the first argument in ErrorException to be an array that is cast to an ErrorObject instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions