new NotFoundError()
Custom error class for handling errors related to not found resources.
- Source:
Extends
- BaseError
Custom error class for handling errors related to not found resources.
Constructs the NotFoundError instance with a prefixed message.
| Name | Type | Description |
|---|---|---|
message |
string | The error message for not found resources. |