Represents an error returned by the Teya API.
Pattern-match on code for Teya-specific error codes: "BAD_REQUEST", "UNAUTHORISED", "FORBIDDEN", "TOO_MANY_REQUESTS", "INTERNAL_SERVER_ERROR".
code
"BAD_REQUEST"
"UNAUTHORISED"
"FORBIDDEN"
"TOO_MANY_REQUESTS"
"INTERNAL_SERVER_ERROR"
@type t() :: %Teya.Error{ code: String.t() | nil, message: String.t() | nil, status: integer() | nil }