2
0
mirror of https://github.com/esiur/esiur-js.git synced 2025-05-07 12:52:58 +00:00

RuntimeException

This commit is contained in:
Esiur Project 2022-08-29 19:09:24 +03:00
parent dc209690e2
commit 1011eea4a6
2 changed files with 39 additions and 38 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "esiur", "name": "esiur",
"version": "2.1.3", "version": "2.1.4",
"description": "Distributed Object Framework", "description": "Distributed Object Framework",
"main": "esiur.js", "main": "esiur.js",
"type": "module", "type": "module",

View File

@ -1,40 +1,41 @@
export default //const ExceptionCode = export default //const ExceptionCode =
{ {
HostNotReachable: 0, RuntimeException: 0,
AccessDenied: 1, HostNotReachable: 1,
UserOrTokenNotFound: 2, AccessDenied: 2,
ChallengeFailed: 3, UserOrTokenNotFound: 3,
ResourceNotFound: 4, ChallengeFailed: 4,
AttachDenied: 5, ResourceNotFound: 5,
InvalidMethod: 6, AttachDenied: 6,
InvokeDenied: 7, InvalidMethod: 7,
CreateDenied: 8, InvokeDenied: 8,
AddParentDenied: 9, CreateDenied: 9,
AddChildDenied: 10, AddParentDenied: 10,
ViewAttributeDenied: 11, AddChildDenied: 11,
UpdateAttributeDenied: 12, ViewAttributeDenied: 12,
StoreNotFound: 13, UpdateAttributeDenied: 13,
ParentNotFound: 14, StoreNotFound: 14,
ChildNotFound: 15, ParentNotFound: 15,
ResourceIsNotStore: 16, ChildNotFound: 16,
DeleteDenied: 17, ResourceIsNotStore: 17,
DeleteFailed: 18, DeleteDenied: 18,
UpdateAttributeFailed: 19, DeleteFailed: 19,
GetAttributesFailed: 20, UpdateAttributeFailed: 20,
ClearAttributesFailed: 21, GetAttributesFailed: 21,
TemplateNotFound: 22, ClearAttributesFailed: 22,
RenameDenied: 23, TemplateNotFound: 23,
ClassNotFound: 24, RenameDenied: 24,
MethodNotFound: 25, ClassNotFound: 25,
PropertyNotFound: 26, MethodNotFound: 26,
SetPropertyDenied: 27, PropertyNotFound: 27,
ReadOnlyProperty: 28, SetPropertyDenied: 28,
GeneralFailure: 29, ReadOnlyProperty: 29,
AddToStoreFailed: 30, GeneralFailure: 30,
NotAttached: 31, AddToStoreFailed: 31,
AlreadyListened: 32, NotAttached: 32,
AlreadyUnlistened: 33, AlreadyListened: 33,
NotListenable: 34, AlreadyUnlistened: 34,
ParseError: 35, NotListenable: 35,
Timeout: 36 ParseError: 36,
Timeout: 37
}; };