@sankhyalabs/core-docs 2.3.4 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -0
- package/classes/ApplicationContext.md +76 -0
- package/classes/ArrayUtils.md +89 -0
- package/classes/AuthorizedServiceCaller.md +76 -0
- package/classes/Change.md +168 -0
- package/classes/DataUnit.md +1394 -0
- package/classes/DataUnitAction.md +96 -0
- package/classes/DateUtils.md +190 -0
- package/classes/ElementIDUtils.md +243 -0
- package/classes/ErrorException.md +204 -0
- package/classes/ErrorTracking.md +54 -0
- package/classes/FloatingManager.md +384 -0
- package/classes/HttpProvider.md +96 -0
- package/classes/MaskFormatter-1.md +336 -0
- package/classes/NumberUtils.md +188 -0
- package/classes/ObjectUtils.md +81 -0
- package/classes/ReadyUtil.md +103 -0
- package/classes/RequestMetadata.md +84 -0
- package/classes/SkwHttpProvider.md +109 -0
- package/classes/StringUtils.md +381 -0
- package/classes/TimeFormatter.md +98 -0
- package/classes/UserAgentUtils.md +48 -0
- package/classes/WaitingChangeException.md +192 -0
- package/classes/WarningException.md +204 -0
- package/enums/Action.md +250 -0
- package/enums/ChangeOperation.md +52 -0
- package/enums/DataType.md +63 -0
- package/enums/DependencyType.md +41 -0
- package/enums/SortMode.md +30 -0
- package/enums/UserInterface.md +195 -0
- package/interfaces/DUActionInterceptor.md +29 -0
- package/interfaces/ExecutionContext.md +58 -0
- package/interfaces/FieldDescriptor.md +129 -0
- package/interfaces/Filter.md +41 -0
- package/interfaces/IElementIDInfo.md +30 -0
- package/interfaces/LoadDataRequest.md +63 -0
- package/interfaces/LoadDataResponse.md +30 -0
- package/interfaces/PageRequest.md +41 -0
- package/interfaces/PaginationInfo.md +63 -0
- package/interfaces/QuickFilter.md +30 -0
- package/interfaces/Record.md +40 -0
- package/interfaces/SavedRecord.md +55 -0
- package/interfaces/Sort.md +41 -0
- package/interfaces/SortingProvider.md +29 -0
- package/interfaces/UnitMetadata.md +41 -0
- package/interfaces/WaitingChange.md +41 -0
- package/modules/MaskFormatter.md +37 -0
- package/modules.md +63 -0
- package/package.json +1 -1
@@ -0,0 +1,96 @@
|
|
1
|
+
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / DataUnitAction
|
2
|
+
|
3
|
+
# Class: DataUnitAction
|
4
|
+
|
5
|
+
## Implements
|
6
|
+
|
7
|
+
- `StateAction`
|
8
|
+
|
9
|
+
## Table of contents
|
10
|
+
|
11
|
+
### Constructors
|
12
|
+
|
13
|
+
- [constructor](DataUnitAction.md#constructor)
|
14
|
+
|
15
|
+
### Properties
|
16
|
+
|
17
|
+
- [\_payload](DataUnitAction.md#_payload)
|
18
|
+
- [\_type](DataUnitAction.md#_type)
|
19
|
+
|
20
|
+
### Accessors
|
21
|
+
|
22
|
+
- [payload](DataUnitAction.md#payload)
|
23
|
+
- [type](DataUnitAction.md#type)
|
24
|
+
|
25
|
+
## Constructors
|
26
|
+
|
27
|
+
### constructor
|
28
|
+
|
29
|
+
• **new DataUnitAction**(`type`, `payload?`)
|
30
|
+
|
31
|
+
#### Parameters
|
32
|
+
|
33
|
+
| Name | Type |
|
34
|
+
| :------ | :------ |
|
35
|
+
| `type` | [`Action`](../enums/Action.md) |
|
36
|
+
| `payload?` | `any` |
|
37
|
+
|
38
|
+
#### Defined in
|
39
|
+
|
40
|
+
src/dataunit/state/action/DataUnitAction.ts:9
|
41
|
+
|
42
|
+
## Properties
|
43
|
+
|
44
|
+
### \_payload
|
45
|
+
|
46
|
+
• `Private` **\_payload**: `any`
|
47
|
+
|
48
|
+
#### Defined in
|
49
|
+
|
50
|
+
src/dataunit/state/action/DataUnitAction.ts:7
|
51
|
+
|
52
|
+
___
|
53
|
+
|
54
|
+
### \_type
|
55
|
+
|
56
|
+
• `Private` **\_type**: [`Action`](../enums/Action.md)
|
57
|
+
|
58
|
+
#### Defined in
|
59
|
+
|
60
|
+
src/dataunit/state/action/DataUnitAction.ts:6
|
61
|
+
|
62
|
+
## Accessors
|
63
|
+
|
64
|
+
### payload
|
65
|
+
|
66
|
+
• `get` **payload**(): `any`
|
67
|
+
|
68
|
+
#### Returns
|
69
|
+
|
70
|
+
`any`
|
71
|
+
|
72
|
+
#### Implementation of
|
73
|
+
|
74
|
+
StateAction.payload
|
75
|
+
|
76
|
+
#### Defined in
|
77
|
+
|
78
|
+
src/dataunit/state/action/DataUnitAction.ts:18
|
79
|
+
|
80
|
+
___
|
81
|
+
|
82
|
+
### type
|
83
|
+
|
84
|
+
• `get` **type**(): [`Action`](../enums/Action.md)
|
85
|
+
|
86
|
+
#### Returns
|
87
|
+
|
88
|
+
[`Action`](../enums/Action.md)
|
89
|
+
|
90
|
+
#### Implementation of
|
91
|
+
|
92
|
+
StateAction.type
|
93
|
+
|
94
|
+
#### Defined in
|
95
|
+
|
96
|
+
src/dataunit/state/action/DataUnitAction.ts:14
|
@@ -0,0 +1,190 @@
|
|
1
|
+
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / DateUtils
|
2
|
+
|
3
|
+
# Class: DateUtils
|
4
|
+
|
5
|
+
## Table of contents
|
6
|
+
|
7
|
+
### Constructors
|
8
|
+
|
9
|
+
- [constructor](DateUtils.md#constructor)
|
10
|
+
|
11
|
+
### Methods
|
12
|
+
|
13
|
+
- [adjustDLST](DateUtils.md#adjustdlst)
|
14
|
+
- [clearTime](DateUtils.md#cleartime)
|
15
|
+
- [formatRfc3339](DateUtils.md#formatrfc3339)
|
16
|
+
- [getToday](DateUtils.md#gettoday)
|
17
|
+
- [pad](DateUtils.md#pad)
|
18
|
+
- [strToDate](DateUtils.md#strtodate)
|
19
|
+
- [timezoneOffset](DateUtils.md#timezoneoffset)
|
20
|
+
- [validateDate](DateUtils.md#validatedate)
|
21
|
+
|
22
|
+
## Constructors
|
23
|
+
|
24
|
+
### constructor
|
25
|
+
|
26
|
+
• **new DateUtils**()
|
27
|
+
|
28
|
+
## Methods
|
29
|
+
|
30
|
+
### adjustDLST
|
31
|
+
|
32
|
+
▸ `Static` `Private` **adjustDLST**(`date`): `Date`
|
33
|
+
|
34
|
+
#### Parameters
|
35
|
+
|
36
|
+
| Name | Type |
|
37
|
+
| :------ | :------ |
|
38
|
+
| `date` | `Date` |
|
39
|
+
|
40
|
+
#### Returns
|
41
|
+
|
42
|
+
`Date`
|
43
|
+
|
44
|
+
#### Defined in
|
45
|
+
|
46
|
+
src/utils/DateUtils.ts:60
|
47
|
+
|
48
|
+
___
|
49
|
+
|
50
|
+
### clearTime
|
51
|
+
|
52
|
+
▸ `Static` **clearTime**(`date`, `adjustDayLightSavingTime?`): `Date`
|
53
|
+
|
54
|
+
#### Parameters
|
55
|
+
|
56
|
+
| Name | Type | Default value |
|
57
|
+
| :------ | :------ | :------ |
|
58
|
+
| `date` | `Date` | `undefined` |
|
59
|
+
| `adjustDayLightSavingTime` | `boolean` | `true` |
|
60
|
+
|
61
|
+
#### Returns
|
62
|
+
|
63
|
+
`Date`
|
64
|
+
|
65
|
+
#### Defined in
|
66
|
+
|
67
|
+
src/utils/DateUtils.ts:3
|
68
|
+
|
69
|
+
___
|
70
|
+
|
71
|
+
### formatRfc3339
|
72
|
+
|
73
|
+
▸ `Static` **formatRfc3339**(`date`): `string`
|
74
|
+
|
75
|
+
#### Parameters
|
76
|
+
|
77
|
+
| Name | Type |
|
78
|
+
| :------ | :------ |
|
79
|
+
| `date` | `Date` |
|
80
|
+
|
81
|
+
#### Returns
|
82
|
+
|
83
|
+
`string`
|
84
|
+
|
85
|
+
#### Defined in
|
86
|
+
|
87
|
+
src/utils/DateUtils.ts:87
|
88
|
+
|
89
|
+
___
|
90
|
+
|
91
|
+
### getToday
|
92
|
+
|
93
|
+
▸ `Static` **getToday**(`withTime?`): `Date`
|
94
|
+
|
95
|
+
#### Parameters
|
96
|
+
|
97
|
+
| Name | Type | Default value |
|
98
|
+
| :------ | :------ | :------ |
|
99
|
+
| `withTime` | `boolean` | `false` |
|
100
|
+
|
101
|
+
#### Returns
|
102
|
+
|
103
|
+
`Date`
|
104
|
+
|
105
|
+
#### Defined in
|
106
|
+
|
107
|
+
src/utils/DateUtils.ts:44
|
108
|
+
|
109
|
+
___
|
110
|
+
|
111
|
+
### pad
|
112
|
+
|
113
|
+
▸ `Static` `Private` **pad**(`n`): `string` \| `Number`
|
114
|
+
|
115
|
+
#### Parameters
|
116
|
+
|
117
|
+
| Name | Type |
|
118
|
+
| :------ | :------ |
|
119
|
+
| `n` | `Number` |
|
120
|
+
|
121
|
+
#### Returns
|
122
|
+
|
123
|
+
`string` \| `Number`
|
124
|
+
|
125
|
+
#### Defined in
|
126
|
+
|
127
|
+
src/utils/DateUtils.ts:70
|
128
|
+
|
129
|
+
___
|
130
|
+
|
131
|
+
### strToDate
|
132
|
+
|
133
|
+
▸ `Static` **strToDate**(`strValue`, `adjustDayLightSavingTime?`, `monthYearMode?`): `undefined` \| `Date`
|
134
|
+
|
135
|
+
#### Parameters
|
136
|
+
|
137
|
+
| Name | Type | Default value |
|
138
|
+
| :------ | :------ | :------ |
|
139
|
+
| `strValue` | `string` | `undefined` |
|
140
|
+
| `adjustDayLightSavingTime` | `boolean` | `true` |
|
141
|
+
| `monthYearMode` | `boolean` | `false` |
|
142
|
+
|
143
|
+
#### Returns
|
144
|
+
|
145
|
+
`undefined` \| `Date`
|
146
|
+
|
147
|
+
#### Defined in
|
148
|
+
|
149
|
+
src/utils/DateUtils.ts:8
|
150
|
+
|
151
|
+
___
|
152
|
+
|
153
|
+
### timezoneOffset
|
154
|
+
|
155
|
+
▸ `Static` `Private` **timezoneOffset**(`offset`): `string`
|
156
|
+
|
157
|
+
#### Parameters
|
158
|
+
|
159
|
+
| Name | Type |
|
160
|
+
| :------ | :------ |
|
161
|
+
| `offset` | `number` |
|
162
|
+
|
163
|
+
#### Returns
|
164
|
+
|
165
|
+
`string`
|
166
|
+
|
167
|
+
#### Defined in
|
168
|
+
|
169
|
+
src/utils/DateUtils.ts:74
|
170
|
+
|
171
|
+
___
|
172
|
+
|
173
|
+
### validateDate
|
174
|
+
|
175
|
+
▸ `Static` **validateDate**(`value`, `hasTime?`): `undefined` \| `Date`
|
176
|
+
|
177
|
+
#### Parameters
|
178
|
+
|
179
|
+
| Name | Type | Default value |
|
180
|
+
| :------ | :------ | :------ |
|
181
|
+
| `value` | `Date` | `undefined` |
|
182
|
+
| `hasTime` | `boolean` | `false` |
|
183
|
+
|
184
|
+
#### Returns
|
185
|
+
|
186
|
+
`undefined` \| `Date`
|
187
|
+
|
188
|
+
#### Defined in
|
189
|
+
|
190
|
+
src/utils/DateUtils.ts:54
|
@@ -0,0 +1,243 @@
|
|
1
|
+
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ElementIDUtils
|
2
|
+
|
3
|
+
# Class: ElementIDUtils
|
4
|
+
|
5
|
+
## Table of contents
|
6
|
+
|
7
|
+
### Constructors
|
8
|
+
|
9
|
+
- [constructor](ElementIDUtils.md#constructor)
|
10
|
+
|
11
|
+
### Properties
|
12
|
+
|
13
|
+
- [DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME](ElementIDUtils.md#data_element_id_attribute_name)
|
14
|
+
- [INTERNAL\_INPUT\_NAME](ElementIDUtils.md#internal_input_name)
|
15
|
+
|
16
|
+
### Methods
|
17
|
+
|
18
|
+
- [addIDInfo](ElementIDUtils.md#addidinfo)
|
19
|
+
- [addIDInfoIfNotExists](ElementIDUtils.md#addidinfoifnotexists)
|
20
|
+
- [addPrefix](ElementIDUtils.md#addprefix)
|
21
|
+
- [addSuffix](ElementIDUtils.md#addsuffix)
|
22
|
+
- [formatDescription](ElementIDUtils.md#formatdescription)
|
23
|
+
- [getAttributeValid](ElementIDUtils.md#getattributevalid)
|
24
|
+
- [getDataElementID](ElementIDUtils.md#getdataelementid)
|
25
|
+
- [getDataElementIDAttribute](ElementIDUtils.md#getdataelementidattribute)
|
26
|
+
- [getInternalIDInfo](ElementIDUtils.md#getinternalidinfo)
|
27
|
+
|
28
|
+
## Constructors
|
29
|
+
|
30
|
+
### constructor
|
31
|
+
|
32
|
+
• **new ElementIDUtils**()
|
33
|
+
|
34
|
+
## Properties
|
35
|
+
|
36
|
+
### DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME
|
37
|
+
|
38
|
+
▪ `Static` **DATA\_ELEMENT\_ID\_ATTRIBUTE\_NAME**: `string` = `"data-element-id"`
|
39
|
+
|
40
|
+
#### Defined in
|
41
|
+
|
42
|
+
src/utils/ElementIDUtils.ts:12
|
43
|
+
|
44
|
+
___
|
45
|
+
|
46
|
+
### INTERNAL\_INPUT\_NAME
|
47
|
+
|
48
|
+
▪ `Static` **INTERNAL\_INPUT\_NAME**: `string` = `"internal"`
|
49
|
+
|
50
|
+
#### Defined in
|
51
|
+
|
52
|
+
src/utils/ElementIDUtils.ts:13
|
53
|
+
|
54
|
+
## Methods
|
55
|
+
|
56
|
+
### addIDInfo
|
57
|
+
|
58
|
+
▸ `Static` **addIDInfo**(`element`, `suffix?`, `iDInfo?`): `string`
|
59
|
+
|
60
|
+
#### Parameters
|
61
|
+
|
62
|
+
| Name | Type |
|
63
|
+
| :------ | :------ |
|
64
|
+
| `element` | `HTMLElement` |
|
65
|
+
| `suffix?` | `string` |
|
66
|
+
| `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
|
67
|
+
|
68
|
+
#### Returns
|
69
|
+
|
70
|
+
`string`
|
71
|
+
|
72
|
+
#### Defined in
|
73
|
+
|
74
|
+
src/utils/ElementIDUtils.ts:15
|
75
|
+
|
76
|
+
___
|
77
|
+
|
78
|
+
### addIDInfoIfNotExists
|
79
|
+
|
80
|
+
▸ `Static` **addIDInfoIfNotExists**(`element`, `suffix?`, `iDInfo?`): `string`
|
81
|
+
|
82
|
+
#### Parameters
|
83
|
+
|
84
|
+
| Name | Type |
|
85
|
+
| :------ | :------ |
|
86
|
+
| `element` | `HTMLElement` |
|
87
|
+
| `suffix?` | `string` |
|
88
|
+
| `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
|
89
|
+
|
90
|
+
#### Returns
|
91
|
+
|
92
|
+
`string`
|
93
|
+
|
94
|
+
#### Defined in
|
95
|
+
|
96
|
+
src/utils/ElementIDUtils.ts:24
|
97
|
+
|
98
|
+
___
|
99
|
+
|
100
|
+
### addPrefix
|
101
|
+
|
102
|
+
▸ `Static` `Private` **addPrefix**(`iDInfo`, `dataElementID`): `string`
|
103
|
+
|
104
|
+
#### Parameters
|
105
|
+
|
106
|
+
| Name | Type |
|
107
|
+
| :------ | :------ |
|
108
|
+
| `iDInfo` | `undefined` \| [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
|
109
|
+
| `dataElementID` | `string` |
|
110
|
+
|
111
|
+
#### Returns
|
112
|
+
|
113
|
+
`string`
|
114
|
+
|
115
|
+
#### Defined in
|
116
|
+
|
117
|
+
src/utils/ElementIDUtils.ts:94
|
118
|
+
|
119
|
+
___
|
120
|
+
|
121
|
+
### addSuffix
|
122
|
+
|
123
|
+
▸ `Static` `Private` **addSuffix**(`dataElementID`, `suffix`, `element`): `string`
|
124
|
+
|
125
|
+
#### Parameters
|
126
|
+
|
127
|
+
| Name | Type |
|
128
|
+
| :------ | :------ |
|
129
|
+
| `dataElementID` | ``null`` \| `string` |
|
130
|
+
| `suffix` | `undefined` \| `string` |
|
131
|
+
| `element` | `HTMLElement` |
|
132
|
+
|
133
|
+
#### Returns
|
134
|
+
|
135
|
+
`string`
|
136
|
+
|
137
|
+
#### Defined in
|
138
|
+
|
139
|
+
src/utils/ElementIDUtils.ts:84
|
140
|
+
|
141
|
+
___
|
142
|
+
|
143
|
+
### formatDescription
|
144
|
+
|
145
|
+
▸ `Static` `Private` **formatDescription**(`value`): `string`
|
146
|
+
|
147
|
+
#### Parameters
|
148
|
+
|
149
|
+
| Name | Type |
|
150
|
+
| :------ | :------ |
|
151
|
+
| `value` | ``null`` \| `string` |
|
152
|
+
|
153
|
+
#### Returns
|
154
|
+
|
155
|
+
`string`
|
156
|
+
|
157
|
+
#### Defined in
|
158
|
+
|
159
|
+
src/utils/ElementIDUtils.ts:102
|
160
|
+
|
161
|
+
___
|
162
|
+
|
163
|
+
### getAttributeValid
|
164
|
+
|
165
|
+
▸ `Static` `Private` **getAttributeValid**(`element`, `iDInfo?`): ``null`` \| `string`
|
166
|
+
|
167
|
+
#### Parameters
|
168
|
+
|
169
|
+
| Name | Type |
|
170
|
+
| :------ | :------ |
|
171
|
+
| `element` | `HTMLElement` |
|
172
|
+
| `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
|
173
|
+
|
174
|
+
#### Returns
|
175
|
+
|
176
|
+
``null`` \| `string`
|
177
|
+
|
178
|
+
#### Defined in
|
179
|
+
|
180
|
+
src/utils/ElementIDUtils.ts:56
|
181
|
+
|
182
|
+
___
|
183
|
+
|
184
|
+
### getDataElementID
|
185
|
+
|
186
|
+
▸ `Static` `Private` **getDataElementID**(`element`, `suffix?`, `iDInfo?`): `string`
|
187
|
+
|
188
|
+
#### Parameters
|
189
|
+
|
190
|
+
| Name | Type |
|
191
|
+
| :------ | :------ |
|
192
|
+
| `element` | `HTMLElement` |
|
193
|
+
| `suffix?` | `string` |
|
194
|
+
| `iDInfo?` | [`IElementIDInfo`](../interfaces/IElementIDInfo.md) |
|
195
|
+
|
196
|
+
#### Returns
|
197
|
+
|
198
|
+
`string`
|
199
|
+
|
200
|
+
#### Defined in
|
201
|
+
|
202
|
+
src/utils/ElementIDUtils.ts:39
|
203
|
+
|
204
|
+
___
|
205
|
+
|
206
|
+
### getDataElementIDAttribute
|
207
|
+
|
208
|
+
▸ `Static` `Private` **getDataElementIDAttribute**(`element`): ``null`` \| `string`
|
209
|
+
|
210
|
+
#### Parameters
|
211
|
+
|
212
|
+
| Name | Type |
|
213
|
+
| :------ | :------ |
|
214
|
+
| `element` | `HTMLElement` |
|
215
|
+
|
216
|
+
#### Returns
|
217
|
+
|
218
|
+
``null`` \| `string`
|
219
|
+
|
220
|
+
#### Defined in
|
221
|
+
|
222
|
+
src/utils/ElementIDUtils.ts:107
|
223
|
+
|
224
|
+
___
|
225
|
+
|
226
|
+
### getInternalIDInfo
|
227
|
+
|
228
|
+
▸ `Static` **getInternalIDInfo**(`originalID`, `sufix`): `string`
|
229
|
+
|
230
|
+
#### Parameters
|
231
|
+
|
232
|
+
| Name | Type |
|
233
|
+
| :------ | :------ |
|
234
|
+
| `originalID` | `string` |
|
235
|
+
| `sufix` | `string` |
|
236
|
+
|
237
|
+
#### Returns
|
238
|
+
|
239
|
+
`string`
|
240
|
+
|
241
|
+
#### Defined in
|
242
|
+
|
243
|
+
src/utils/ElementIDUtils.ts:35
|
@@ -0,0 +1,204 @@
|
|
1
|
+
[@sankhyalabs/core](../README.md) / [Exports](../modules.md) / ErrorException
|
2
|
+
|
3
|
+
# Class: ErrorException
|
4
|
+
|
5
|
+
## Hierarchy
|
6
|
+
|
7
|
+
- `Error`
|
8
|
+
|
9
|
+
↳ **`ErrorException`**
|
10
|
+
|
11
|
+
## Table of contents
|
12
|
+
|
13
|
+
### Constructors
|
14
|
+
|
15
|
+
- [constructor](ErrorException.md#constructor)
|
16
|
+
|
17
|
+
### Properties
|
18
|
+
|
19
|
+
- [cause](ErrorException.md#cause)
|
20
|
+
- [errorCode](ErrorException.md#errorcode)
|
21
|
+
- [message](ErrorException.md#message)
|
22
|
+
- [name](ErrorException.md#name)
|
23
|
+
- [stack](ErrorException.md#stack)
|
24
|
+
- [title](ErrorException.md#title)
|
25
|
+
- [prepareStackTrace](ErrorException.md#preparestacktrace)
|
26
|
+
- [stackTraceLimit](ErrorException.md#stacktracelimit)
|
27
|
+
|
28
|
+
### Methods
|
29
|
+
|
30
|
+
- [captureStackTrace](ErrorException.md#capturestacktrace)
|
31
|
+
|
32
|
+
## Constructors
|
33
|
+
|
34
|
+
### constructor
|
35
|
+
|
36
|
+
• **new ErrorException**(`title`, `message`, `errorCode?`)
|
37
|
+
|
38
|
+
#### Parameters
|
39
|
+
|
40
|
+
| Name | Type | Default value |
|
41
|
+
| :------ | :------ | :------ |
|
42
|
+
| `title` | `string` | `undefined` |
|
43
|
+
| `message` | `string` | `undefined` |
|
44
|
+
| `errorCode` | `string` | `""` |
|
45
|
+
|
46
|
+
#### Overrides
|
47
|
+
|
48
|
+
Error.constructor
|
49
|
+
|
50
|
+
#### Defined in
|
51
|
+
|
52
|
+
src/exceptions/ErrorException.ts:7
|
53
|
+
|
54
|
+
## Properties
|
55
|
+
|
56
|
+
### cause
|
57
|
+
|
58
|
+
• `Optional` **cause**: `unknown`
|
59
|
+
|
60
|
+
#### Inherited from
|
61
|
+
|
62
|
+
Error.cause
|
63
|
+
|
64
|
+
#### Defined in
|
65
|
+
|
66
|
+
node_modules/typescript/lib/lib.es2022.error.d.ts:26
|
67
|
+
|
68
|
+
___
|
69
|
+
|
70
|
+
### errorCode
|
71
|
+
|
72
|
+
• **errorCode**: `string`
|
73
|
+
|
74
|
+
#### Defined in
|
75
|
+
|
76
|
+
src/exceptions/ErrorException.ts:5
|
77
|
+
|
78
|
+
___
|
79
|
+
|
80
|
+
### message
|
81
|
+
|
82
|
+
• **message**: `string`
|
83
|
+
|
84
|
+
#### Overrides
|
85
|
+
|
86
|
+
Error.message
|
87
|
+
|
88
|
+
#### Defined in
|
89
|
+
|
90
|
+
src/exceptions/ErrorException.ts:4
|
91
|
+
|
92
|
+
___
|
93
|
+
|
94
|
+
### name
|
95
|
+
|
96
|
+
• **name**: `string`
|
97
|
+
|
98
|
+
#### Inherited from
|
99
|
+
|
100
|
+
Error.name
|
101
|
+
|
102
|
+
#### Defined in
|
103
|
+
|
104
|
+
node_modules/typescript/lib/lib.es5.d.ts:1053
|
105
|
+
|
106
|
+
___
|
107
|
+
|
108
|
+
### stack
|
109
|
+
|
110
|
+
• `Optional` **stack**: `string`
|
111
|
+
|
112
|
+
#### Inherited from
|
113
|
+
|
114
|
+
Error.stack
|
115
|
+
|
116
|
+
#### Defined in
|
117
|
+
|
118
|
+
node_modules/typescript/lib/lib.es5.d.ts:1055
|
119
|
+
|
120
|
+
___
|
121
|
+
|
122
|
+
### title
|
123
|
+
|
124
|
+
• **title**: `string`
|
125
|
+
|
126
|
+
#### Defined in
|
127
|
+
|
128
|
+
src/exceptions/ErrorException.ts:3
|
129
|
+
|
130
|
+
___
|
131
|
+
|
132
|
+
### prepareStackTrace
|
133
|
+
|
134
|
+
▪ `Static` `Optional` **prepareStackTrace**: (`err`: `Error`, `stackTraces`: `CallSite`[]) => `any`
|
135
|
+
|
136
|
+
#### Type declaration
|
137
|
+
|
138
|
+
▸ (`err`, `stackTraces`): `any`
|
139
|
+
|
140
|
+
Optional override for formatting stack traces
|
141
|
+
|
142
|
+
**`See`**
|
143
|
+
|
144
|
+
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
145
|
+
|
146
|
+
##### Parameters
|
147
|
+
|
148
|
+
| Name | Type |
|
149
|
+
| :------ | :------ |
|
150
|
+
| `err` | `Error` |
|
151
|
+
| `stackTraces` | `CallSite`[] |
|
152
|
+
|
153
|
+
##### Returns
|
154
|
+
|
155
|
+
`any`
|
156
|
+
|
157
|
+
#### Inherited from
|
158
|
+
|
159
|
+
Error.prepareStackTrace
|
160
|
+
|
161
|
+
#### Defined in
|
162
|
+
|
163
|
+
node_modules/@types/node/globals.d.ts:11
|
164
|
+
|
165
|
+
___
|
166
|
+
|
167
|
+
### stackTraceLimit
|
168
|
+
|
169
|
+
▪ `Static` **stackTraceLimit**: `number`
|
170
|
+
|
171
|
+
#### Inherited from
|
172
|
+
|
173
|
+
Error.stackTraceLimit
|
174
|
+
|
175
|
+
#### Defined in
|
176
|
+
|
177
|
+
node_modules/@types/node/globals.d.ts:13
|
178
|
+
|
179
|
+
## Methods
|
180
|
+
|
181
|
+
### captureStackTrace
|
182
|
+
|
183
|
+
▸ `Static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void`
|
184
|
+
|
185
|
+
Create .stack property on a target object
|
186
|
+
|
187
|
+
#### Parameters
|
188
|
+
|
189
|
+
| Name | Type |
|
190
|
+
| :------ | :------ |
|
191
|
+
| `targetObject` | `object` |
|
192
|
+
| `constructorOpt?` | `Function` |
|
193
|
+
|
194
|
+
#### Returns
|
195
|
+
|
196
|
+
`void`
|
197
|
+
|
198
|
+
#### Inherited from
|
199
|
+
|
200
|
+
Error.captureStackTrace
|
201
|
+
|
202
|
+
#### Defined in
|
203
|
+
|
204
|
+
node_modules/@types/node/globals.d.ts:4
|