Optional
details: Record<string, unknown>Optional
message: stringOptional
type: NotFoundErrorTypeOptional
details: Record<string, unknown>Optional
detailsAdditional 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:
details
object with additional error information. In this case, the error message defaults to "Resource not found".