UNPKG

@aurahelper/languages

Version:

Language Libraries to work with XML, Aura, Apex... files. tokenizers, parsers, system classes and much more

328 lines 8.79 kB
{ "id": "Database.error", "nodeType": "class", "name": "Error", "namespace": "Database", "startToken": { "type": "declaration.entity.name.class", "text": "Error", "textToLower": "error", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.class_Error_-1:0" }, "order": 0, "memberOrder": 0, "accessModifier": { "type": "keyword.modifier.access", "text": "global", "textToLower": "global", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "keyword.modifier.access_global_-1:0" }, "sharingModifier": { "type": "keyword.modifier.sharing", "text": "without sharing", "textToLower": "without sharing", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "keyword.modifier.sharing_without sharing_-1:0" }, "description": "Represents information about an error that occurred during a DML operation when using a Database method.", "documentation": "https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_methods_system_database_error.htm", "classes": {}, "interfaces": {}, "enums": {}, "variables": {}, "methods": { "getfields()": { "id": "Database.error.method.getfields()", "nodeType": "method", "name": "getFields", "startToken": { "type": "declaration.entity.name.function", "text": "getFields", "textToLower": "getfields", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getFields_-1:0" }, "parentId": "Database.error", "order": 1, "memberOrder": 1, "accessModifier": { "type": "keyword.modifier.access", "text": "public", "textToLower": "public", "isAux": false, "range": { "start": { "line": 0, "character": 0 }, "end": { "line": 0, "character": 6 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_public_0:0" }, "signature": "public String[] getFields()", "overrideSignature": "public override String[] getFields()", "simplifiedSignature": "getFields()", "datatype": { "id": "Database.error.getfields.datatype.String[]", "nodeType": "datatype", "name": "String[]", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:7" }, "parentId": "Database.error.getfields", "order": 0, "memberOrder": 0, "type": "String[]" }, "description": "Returns an array of one or more field names. Identifies which fields in the object, if any, affected the error condition.", "parentName": "Error", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "getmessage()": { "id": "Database.error.method.getmessage()", "nodeType": "method", "name": "getMessage", "startToken": { "type": "declaration.entity.name.function", "text": "getMessage", "textToLower": "getmessage", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getMessage_-1:0" }, "parentId": "Database.error", "order": 2, "memberOrder": 2, "accessModifier": { "type": "keyword.modifier.access", "text": "public", "textToLower": "public", "isAux": false, "range": { "start": { "line": 0, "character": 0 }, "end": { "line": 0, "character": 6 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_public_0:0" }, "signature": "public String getMessage()", "overrideSignature": "public override String getMessage()", "simplifiedSignature": "getMessage()", "datatype": { "id": "Database.error.getmessage.datatype.String", "nodeType": "datatype", "name": "String", "startToken": { "type": "datatype.primitive", "text": "String", "textToLower": "string", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 13 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_String_0:7" }, "parentId": "Database.error.getmessage", "order": 0, "memberOrder": 0, "type": "String" }, "description": "Returns the error message text.", "parentName": "Error", "variables": {}, "params": {}, "queries": [], "exceptions": [] }, "getstatuscode()": { "id": "Database.error.method.getstatuscode()", "nodeType": "method", "name": "getStatusCode", "startToken": { "type": "declaration.entity.name.function", "text": "getStatusCode", "textToLower": "getstatuscode", "isAux": false, "range": { "start": { "line": -1, "character": 0 }, "end": { "line": -1, "character": 0 }, "isEmpty": true, "isSingleLine": true }, "id": "declaration.entity.name.function_getStatusCode_-1:0" }, "parentId": "Database.error", "order": 3, "memberOrder": 3, "accessModifier": { "type": "keyword.modifier.access", "text": "public", "textToLower": "public", "isAux": false, "range": { "start": { "line": 0, "character": 0 }, "end": { "line": 0, "character": 6 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_public_0:0" }, "signature": "public StatusCode getStatusCode()", "overrideSignature": "public override StatusCode getStatusCode()", "simplifiedSignature": "getStatusCode()", "datatype": { "id": "Database.error.getstatuscode.datatype.StatusCode", "nodeType": "datatype", "name": "StatusCode", "startToken": { "type": "datatype.custom.class", "text": "StatusCode", "textToLower": "statuscode", "isAux": false, "range": { "start": { "line": 0, "character": 7 }, "end": { "line": 0, "character": 17 }, "isEmpty": false, "isSingleLine": true }, "id": "token.type.identifier_StatusCode_0:7" }, "parentId": "Database.error.getstatuscode", "order": 0, "memberOrder": 0, "type": "StatusCode" }, "description": "Returns a code that characterizes the error.", "parentName": "Error", "variables": {}, "params": {}, "queries": [], "exceptions": [] } }, "constructors": {}, "extendsType": "", "implementTypes": [], "implements": {}, "totalMembers": 3, "queries": [] }