Optional
options: { cause?: unknown; traceId?: string }Create an authentication error
Create a bad request error
Create a conflict error
Check if a TypedError has a specific code
Create an internal error
Check if a value is a TypedError
Create a network error
Create a not found error
Create a permission denied error
Create a rate limit error
Create a timeout error
Create a validation error
Create a typed error with compile-time type safety