• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "ut_jsdoc_throws_030.d.ts": [
3    {
4      "filePath": "ut_jsdoc_throws_030.d.ts",
5      "apiType": "Class",
6      "definedText": " export class Test",
7      "pos": {
8        "line": 20,
9        "character": 1
10      },
11      "isExport": true,
12      "apiName": "Test",
13      "hierarchicalRelations": [
14        "ut_jsdoc_throws_030.d.ts",
15        "Test"
16      ],
17      "isStruct": false,
18      "syscap": "",
19      "currentVersion": "-1",
20      "jsDocText": "/*\r\n * Copyright (c) 2021-2023 Huawei Device Co., Ltd.\r\n * Licensed under the Apache License, Version 2.0 (the \"License\");\r\n * you may not use this file except in compliance with the License.\r\n * You may obtain a copy of the License at\r\n *\r\n *     http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS,\r\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r\n * See the License for the specific language governing permissions and\r\n * limitations under the License.\r\n */\r\n\r\n/**\r\n * the ut for jsdoc about throws\r\n *\r\n */\r\n",
21      "isJoinType": false,
22      "genericInfo": [],
23      "jsDocInfos": [
24        {
25          "description": "the ut for jsdoc about throws",
26          "syscap": "",
27          "since": "-1",
28          "isForm": false,
29          "isCrossPlatForm": false,
30          "isSystemApi": false,
31          "modelLimitation": "",
32          "deprecatedVersion": "-1",
33          "useinstead": "",
34          "permissions": "",
35          "errorCodes": [],
36          "typeInfo": "",
37          "isConstant": false,
38          "isAtomicService": false,
39          "kit": "",
40          "isFile": false
41        }
42      ],
43      "parentClasses": [],
44      "childApis": [
45        {
46          "filePath": "ut_jsdoc_throws_030.d.ts",
47          "apiType": "Method",
48          "definedText": "func(str: string): void;",
49          "pos": {
50            "line": 26,
51            "character": 3
52          },
53          "isExport": false,
54          "apiName": "func",
55          "hierarchicalRelations": [
56            "ut_jsdoc_throws_030.d.ts",
57            "Test",
58            "func"
59          ],
60          "isStruct": false,
61          "syscap": "",
62          "currentVersion": "-1",
63          "jsDocText": "\r\n  /**\r\n   * @throws { BusinessError } 201 - Permission denied.\r\n   * @throws { BusinessError } 202 - non-system app called system api.\r\n   * @throws { BusinessError } 401 - The parameter check failed.\r\n   */\r\n  ",
64          "isJoinType": false,
65          "genericInfo": [],
66          "jsDocInfos": [
67            {
68              "description": "",
69              "syscap": "",
70              "since": "-1",
71              "isForm": false,
72              "isCrossPlatForm": false,
73              "isSystemApi": false,
74              "modelLimitation": "",
75              "deprecatedVersion": "-1",
76              "useinstead": "",
77              "permissions": "",
78              "errorCodes": [
79                201,
80                202,
81                401
82              ],
83              "typeInfo": "",
84              "isConstant": false,
85              "isAtomicService": false,
86              "kit": "",
87              "isFile": false
88            }
89          ],
90          "callForm": "func(str: string): void",
91          "params": [
92            {
93              "apiType": "Param",
94              "apiName": "str",
95              "paramType": 148,
96              "type": [
97                "string"
98              ],
99              "isRequired": true,
100              "definedText": "str: string",
101              "typeLocations": [],
102              "objLocations": []
103            }
104          ],
105          "returnValue": [],
106          "isStatic": false,
107          "sync": "",
108          "returnValueType": -1,
109          "typeLocations": [],
110          "objLocations": []
111        }
112      ]
113    }
114  ]
115}