File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 11// DB Flags
2+ // Database error due to violation of duplicate constraint
23exports . OBJECT_DUPLICATE = 'OBJECT_DUPLICATE' ;
4+ // Object matching query does not exist
35exports . OBJECT_NOT_FOUND = 'OBJECT_NOT_FOUND' ;
46
57// Token Flags
8+ // Expiration time is passed
69exports . TOKEN_EXPIRED = 'TOKEN_EXPIRED' ;
10+ // Token does not contain expected parts after decrypting
711exports . TOKEN_MALFORMED = 'TOKEN_MALFORMED' ;
812
913// Permissions Flags
14+ // User has insufficient permissions for the desired action
1015exports . ACCESS_DENIED = 'ACCESS_DENIED' ;
16+ // Failed to authorize the user
1117exports . UNAUTHORIZED = 'UNAUTHORIZED' ;
1218
1319// Query Flags
20+ // Layers of query exceed maximum allowed limit
1421exports . QUERY_DEPTH_EXCEEDED = 'QUERY_DEPTH_EXCEEDED' ;
22+ // Calculated complexity exceeds the maximum allowed limit
1523exports . QUERY_COMPLEXITY_EXCEEDED = 'QUERY_COMPLEXITY_EXCEEDED' ;
24+ // At least one layer contains nodes exceeding the maximum allowed limit
1625exports . QUERY_BREADTH_EXCEEDED = 'QUERY_BREADTH_EXCEEDED' ;
1726
1827// Mystery Flags
28+ // New phone, who dis?
1929exports . UNKNOWN_ERROR = 'UKNOWN_ERROR' ;
You can’t perform that action at this time.
0 commit comments