trickroom / Docs
Sign in

SDK reference · Client

TrickroomError

class TrickroomError extends Error

Check code rather than message: codes are stable, messages are written for people. Quote requestId when you contact support.

Properties

statusnumber
The HTTP status, such as 400, 403 or 404.
codestring
A stable reason, such as not_found, forbidden or idempotency_conflict.
messagestring
What went wrong, for people.
requestIdstringoptional
The request's ID, from the x-request-id header.