Tela SDK for JavaScript
NPM
Preparing search index...
Core
APIError
Class APIError
Base class for all API-related errors.
Hierarchy (
View Summary
)
TelaError
APIError
UserAbortError
ConnectionError
ConnectionTimeout
BadRequestError
AuthenticationError
AuthorizationError
NotFoundError
ConflictError
UnprocessableEntityError
RateLimitError
InternalServerError
Index
Constructors
constructor
Properties
error
status
Code
Methods
from
Constructors
constructor
new
APIError
(
statusCode
:
number
|
undefined
,
error
:
any
,
_message
:
string
|
undefined
,
)
:
APIError
Parameters
statusCode
:
number
|
undefined
error
:
any
_message
:
string
|
undefined
Returns
APIError
Properties
Readonly
error
error
:
any
Readonly
status
Code
statusCode
:
number
|
undefined
Methods
Static
from
from
(
statusCode
:
number
,
responseError
:
object
|
undefined
,
message
:
string
|
undefined
,
)
:
APIError
Parameters
statusCode
:
number
responseError
:
object
|
undefined
message
:
string
|
undefined
Returns
APIError
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
error
status
Code
Methods
from
Class Hierarchy
NPM
Tela SDK for JavaScript
Loading...
Base class for all API-related errors.