1 export const LockedSessionError = () => {
2 const error = new Error('Session locked');
3 error.name = 'LockedSession';
7 export enum PassErrorCode {
8 DISABLED_SHARE = 300004,
9 INVALID_COOKIES_REFRESH = 10021,
10 INVALID_SIGNATURE = 300003,
12 MISSING_KEYS = 300006,
14 MISSING_ORG_2FA = 12100,
16 NOT_EXIST_SHARE = 2501,
17 NOT_LATEST_KEYS = 300001,
18 NOT_LATEST_REVISION = 300002,
19 RESOURCE_LIMIT_EXCEEDED = 300007,
20 ROTATION_PAYLOAD_INCOMPLETE = 300005,
21 SERVICE_NETWORK_ERROR = 399999,
23 SESSION_LOCKED = 300008,