Skip to main content

ApiResponse

Standard API response structure

Type Parameters​

T​

T

Properties​

cause?​

optional cause: unknown

The original error object


data?​

optional data: T

The data returned from the API


message?​

optional message: string

A message providing additional context about the API response


stack?​

optional stack: string

A stack trace for debugging purposes