ErrorContext
このコンテンツはまだ日本語訳がありません。
ErrorContext =
object
Defined in: packages/core/src/errors.ts:86
Structured metadata attached to every SDK error.
Postcondition
Section titled “Postcondition”platform is always present
Properties
Section titled “Properties”method?
Section titled “method?”
optionalmethod:"GET"|"POST"|"PUT"|"PATCH"|"DELETE"
Defined in: packages/core/src/errors.ts:90
HTTP method if the error occurred during a request.
optionalpath:string
Defined in: packages/core/src/errors.ts:92
Request path (e.g., “/videos”).
platform
Section titled “platform”platform:
string
Defined in: packages/core/src/errors.ts:88
Platform name (always present).
resourceId?
Section titled “resourceId?”
optionalresourceId:string
Defined in: packages/core/src/errors.ts:96
Resource ID that was being accessed.
status?
Section titled “status?”
optionalstatus:number
Defined in: packages/core/src/errors.ts:94
HTTP status code from the response.