scatter-js
scatter-js copied to clipboard
Where to find Scatter-specific error code
Now I just meet two Scatter-specific error: 423
and 402
. I want to know whether there are other error codes.
Maybe I miss something, I try my best but can not find any error information in document.
{
type: "locked",
message: "The user's Scatter is locked. They have been notified and should unlock before continuing.",
code: 423,
isError: true
}
{
type: "identity_rejected",
message: "User rejected the provision of an Identity",
code: 402,
isError: true
}
The first one is an old extension error just meaning that the Scatter Extension is locked and needs to be opened.
The second one might be related to the first one, or just a rejection of the Login/GetIdentity API
FYI the identity_rejected
error is created here: https://github.com/GetScatter/ScatterDesktop/blob/ef2248e1e6ac75fa653d82968474bfaf39456ac0/src/services/ApiService.js#L152