Optionalmeta: CmpStrErrorMetaOptionalcause: unknownReadonlycodeA short, machine-readable error code
Optional ReadonlymetaOptional structured metadata for the error
ReadonlywhenTimestamp when the error was created (ISO 8601)
Format the error into a readable string, including code, message, and optional metadata.
Optionalstack: boolean = falseWhether to include the stack trace in the output
Serialize the error into a plain object for JSON output.
Optionalstack: boolean = falseWhether to include the stack trace in the JSON
Pretty string representation of the error.
Error thrown when a requested resource is missing or not found.