Tela SDK for JavaScript
NPM
Preparing search index...
Core
AuthenticationError
Class AuthenticationError
Base class for all API-related errors.
Hierarchy (
View Summary
)
APIError
AuthenticationError
Index
Constructors
constructor
Properties
error
status
Code
Methods
from
Constructors
constructor
new
AuthenticationError
(
statusCode
:
number
|
undefined
,
error
:
any
,
_message
:
string
|
undefined
,
)
:
AuthenticationError
Parameters
statusCode
:
number
|
undefined
error
:
any
_message
:
string
|
undefined
Returns
AuthenticationError
Properties
Readonly
error
error
:
any
Readonly
status
Code
statusCode
:
401
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.