Options
All
  • Public
  • Public/Protected
  • All
Menu

StitchServiceError

A StitchServiceError is an exception indicating that an error came from the Stitch server after a request was completed, with an error message and an error code defined in the StitchServiceErrorCode enum.

It is possible that the error code will be StitchServiceErrorCode.Unknown, which can mean one of several possibilities: the Stitch server returned a message that this version of the SDK does not yet recognize, the server is not a Stitch server and returned an unexpected message, or the response was corrupted. In these cases, the associated message will be the plain text body of the response, or an empty string if the body is empty or not decodable as plain text.

Hierarchy

Index

Constructors

constructor

Properties

errorCode

The StitchServiceErrorCode indicating the reason for this exception.

errorCodeName

errorCodeName: string

The name of the StitchServiceErrorCode indicating the reason for this exception.

message

message: string

A string describing the reason for the error.

name

name: string

Optional stack

stack: undefined | string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc