Skip to content

Getting properties when a NotFound error is thrown #1488

@nuno-vieira-deel

Description

@nuno-vieira-deel

At the moment, using the query builder, we are not able to get any property fields like type and message when a NotFound error is thrown. Based on this that information is supposed to be present.

After some analysis, I found the only method that really uses the createNotFoundError() model method is throwIfNotFound() and that method does not send any property and just the context.

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