Skip to main content

Class: VideoSasError

Thrown when the SAS endpoint returns a non-success status. The status code is preserved so callers can distinguish 400 (validation), 404 (candidate missing), 409 (already finalized), 410 (draft window expired), 429 (rate limited), 5xx (transient).

Extends​

  • Error

Constructors​

Constructor​

new VideoSasError(status): VideoSasError

Parameters​

status​

number

Returns​

VideoSasError

Overrides​

Error.constructor

Properties​

cause?​

optional cause?: unknown

Inherited from​

Error.cause


message​

message: string

Inherited from​

Error.message


name​

name: string

Inherited from​

Error.name


stack?​

optional stack?: string

Inherited from​

Error.stack


status​

readonly status: number