@authc/authc-spa-js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Generic
Error
constructor
error
error_
description
message
name
stack
Error
from
Payload
Thrown when network requests to the Auth server fail.
Hierarchy
Error
GenericError
AuthenticationError
TimeoutError
PopupCancelledError
MfaRequiredError
Index
Constructors
constructor
Properties
error
error_
description
message
name
stack
Error
Methods
from
Payload
Constructors
constructor
new
Generic
Error
(
error
:
string
, error_description
:
string
)
:
GenericError
Parameters
error:
string
error_description:
string
Returns
GenericError
Properties
error
error
:
string
error_
description
error_
description
:
string
message
message
:
string
name
name
:
string
Optional
stack
stack
:
string
Static
Error
Error
:
ErrorConstructor
Methods
Static
from
Payload
from
Payload
(
__namedParameters
:
{
error
:
string
;
error_description
:
string
}
)
:
GenericError
Parameters
__namedParameters:
{
error
:
string
;
error_description
:
string
}
error
:
string
error_
description
:
string
Returns
GenericError
Thrown when network requests to the Auth server fail.