Options
All
  • Public
  • Public/Protected
  • All
Menu

StitchRequestError

Indicates that an error occurred while a request was being carried out. This could be due to (but is not limited to) an unreachable server, a connection timeout, or an inability to decode the result. An error code is included, which indicates whether the error was a transport error or decoding error. The underlyingError property can be read to see that underlying error that caused a StitchRequestError. In the case of transport errors, these errors are thrown by the underlying Transport of the Stitch client. An error in decoding the result from the server is typically an Error thrown internally by the Stitch SDK.

Hierarchy

Index

Constructors

constructor

Properties

errorCode

The StitchRequestErrorCode indicating the reason for this exception.

errorCodeName

errorCodeName: string

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

message

message: string

name

name: string

Optional stack

stack: undefined | string

underlyingError

underlyingError: Error

The underlying Error that caused this request exception.

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