Create a new SyncTranscriptError.
The human-readable error message.
Optionalstatus: numberThe HTTP status code of the failed request.
OptionalerrorCode: stringMachine-readable code — the snake_cased
problem-details title from the server (e.g. bad_audio,
audio_too_large, capacity_exceeded, inference_timeout).
OptionalretryAfter: numberSeconds to wait before retrying, from the
Retry-After header on 429/503 responses.
Optional ReadonlyerrorMachine-readable code — the snake_cased
problem-details title from the server (e.g. bad_audio,
audio_too_large, capacity_exceeded, inference_timeout).
Optional ReadonlyretrySeconds to wait before retrying, from the
Retry-After header on 429/503 responses.
OptionalstackOptional ReadonlystatusThe HTTP status code of the failed request.
Static OptionalprepareOptional override for formatting stack traces
Staticstack
Error thrown when a synchronous transcription request fails.