Skip to content

[Feature Request] Optional message param to throwIfNotFound #1722

@PhilipBale

Description

@PhilipBale

Describe the solution you'd like
Would love to be able to provide a message string to the throwIfNotFound method.

Describe alternatives you've considered
N/A

Additional context
Would help solve the pain of writing a few lines of code to throw a custom error every time a necessary object doesn't exist.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions