Optionaldetails: Record<string, unknown>Optionalmessage: stringOptionaltype: NotFoundErrorTypeOptionaldetails: Record<string, unknown>OptionaldetailsAdditional error details (optional).
Descriptive error message.
HTTP status code associated with the error.
Indicates if the response was successful (always false for errors).
Error type.
Converts the error instance to a JSON object compatible with the ErrorResponse interface.
Serializable error object.
Represents a generic "Not Found" error corresponding to HTTP status 404.
This error can be instantiated in two ways:
detailsobject with additional error information. In this case, the error message defaults to "Resource not found".