Skip to content

@oneplatform/app-sdk


@oneplatform/app-sdk / AppSDKError

Interface: AppSDKError

Defined in: types/entities.ts:132

Properties

code

code: string

Defined in: types/entities.ts:134

e.g. "PERMISSION_DENIED", "ENTITY_NOT_FOUND", "NETWORK_ERROR"


isRetryable

isRetryable: boolean

Defined in: types/entities.ts:139

true for 429, 503, and NETWORK_ERROR — signals the caller may retry


message

message: string

Defined in: types/entities.ts:135


requestId

requestId: string

Defined in: types/entities.ts:141

X-Request-ID from the BFF response; empty string for network errors


statusCode

statusCode: number

Defined in: types/entities.ts:137

HTTP status code; 0 for network or client-side errors