@genesislcap/foundation-state-machine 14.408.0 → 14.409.0
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 +6 -26
- package/package.json +12 -12
- package/docs/api/foundation-state-machine.abstractmachine.actor.md +0 -18
- package/docs/api/foundation-state-machine.abstractmachine.binding.md +0 -102
- package/docs/api/foundation-state-machine.abstractmachine.complete.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.context.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.error.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.errors.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.getfromcontainer.md +0 -23
- package/docs/api/foundation-state-machine.abstractmachine.getmetavaluesbykey.md +0 -58
- package/docs/api/foundation-state-machine.abstractmachine.hastag.md +0 -58
- package/docs/api/foundation-state-machine.abstractmachine.machine.md +0 -18
- package/docs/api/foundation-state-machine.abstractmachine.matches.md +0 -58
- package/docs/api/foundation-state-machine.abstractmachine.md +0 -435
- package/docs/api/foundation-state-machine.abstractmachine.meta.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.onsendevent.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.output.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.provide.md +0 -54
- package/docs/api/foundation-state-machine.abstractmachine.send.md +0 -54
- package/docs/api/foundation-state-machine.abstractmachine.snapshot.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.start.md +0 -58
- package/docs/api/foundation-state-machine.abstractmachine.startingcontext.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.startingstate.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.state.md +0 -13
- package/docs/api/foundation-state-machine.abstractmachine.stop.md +0 -17
- package/docs/api/foundation-state-machine.apierror._constructor_.md +0 -80
- package/docs/api/foundation-state-machine.apierror.data.md +0 -11
- package/docs/api/foundation-state-machine.apierror.isunauthorized.md +0 -16
- package/docs/api/foundation-state-machine.apierror.md +0 -147
- package/docs/api/foundation-state-machine.apierror.status.md +0 -11
- package/docs/api/foundation-state-machine.assertevent.md +0 -72
- package/docs/api/foundation-state-machine.createerrorstatenode.md +0 -86
- package/docs/api/foundation-state-machine.createfetchpolicy.md +0 -122
- package/docs/api/foundation-state-machine.createresponsedataextractorwithdeserializer.md +0 -70
- package/docs/api/foundation-state-machine.defaultfetchconfig.md +0 -13
- package/docs/api/foundation-state-machine.defaultfetchmachine._constructor_.md +0 -50
- package/docs/api/foundation-state-machine.defaultfetchmachine.getfromcontainer.md +0 -23
- package/docs/api/foundation-state-machine.defaultfetchmachine.md +0 -99
- package/docs/api/foundation-state-machine.defaultfetchmachine.start.md +0 -58
- package/docs/api/foundation-state-machine.defaultfetchmachinecontext.md +0 -13
- package/docs/api/foundation-state-machine.defaultfetchpolicy.md +0 -13
- package/docs/api/foundation-state-machine.defaultresponsedataextractor.md +0 -18
- package/docs/api/foundation-state-machine.defaultresponseokchecker.md +0 -13
- package/docs/api/foundation-state-machine.defaultretrystatscodes.md +0 -13
- package/docs/api/foundation-state-machine.errorworkflowinput.md +0 -17
- package/docs/api/foundation-state-machine.escalateerror.md +0 -42
- package/docs/api/foundation-state-machine.fetchconfig.fetcher.md +0 -13
- package/docs/api/foundation-state-machine.fetchconfig.fetchpolicy.md +0 -13
- package/docs/api/foundation-state-machine.fetchconfig.md +0 -115
- package/docs/api/foundation-state-machine.fetchconfig.responsedataextractor.md +0 -13
- package/docs/api/foundation-state-machine.fetchconfig.responseokchecker.md +0 -13
- package/docs/api/foundation-state-machine.fetchmachine.md +0 -15
- package/docs/api/foundation-state-machine.fetchmachinecontext.controller.md +0 -13
- package/docs/api/foundation-state-machine.fetchmachinecontext.data.md +0 -13
- package/docs/api/foundation-state-machine.fetchmachinecontext.md +0 -120
- package/docs/api/foundation-state-machine.fetchmachinecontext.params.md +0 -17
- package/docs/api/foundation-state-machine.fetchmachinecontext.response.md +0 -13
- package/docs/api/foundation-state-machine.fetchmachineevent.md +0 -24
- package/docs/api/foundation-state-machine.fetchmachineeventmap.md +0 -21
- package/docs/api/foundation-state-machine.fetchmachineoutput.md +0 -21
- package/docs/api/foundation-state-machine.genesisservererror._constructor_.md +0 -82
- package/docs/api/foundation-state-machine.genesisservererror.getdetailserror.md +0 -15
- package/docs/api/foundation-state-machine.genesisservererror.getmessageerror.md +0 -15
- package/docs/api/foundation-state-machine.genesisservererror.haserrorcode.md +0 -50
- package/docs/api/foundation-state-machine.genesisservererror.isignorableerror.md +0 -17
- package/docs/api/foundation-state-machine.genesisservererror.md +0 -186
- package/docs/api/foundation-state-machine.genesisservererror.received.md +0 -11
- package/docs/api/foundation-state-machine.genesisservererror.sent.md +0 -11
- package/docs/api/foundation-state-machine.isaborterror.md +0 -54
- package/docs/api/foundation-state-machine.isactorerrorevent.md +0 -70
- package/docs/api/foundation-state-machine.isapierror.md +0 -52
- package/docs/api/foundation-state-machine.isdoneinvokeevent.md +0 -54
- package/docs/api/foundation-state-machine.iserrorcustomevent.md +0 -58
- package/docs/api/foundation-state-machine.iserrorevent.md +0 -54
- package/docs/api/foundation-state-machine.iserrortype.md +0 -54
- package/docs/api/foundation-state-machine.iseventwithparams.md +0 -54
- package/docs/api/foundation-state-machine.isgenesisservererror.md +0 -52
- package/docs/api/foundation-state-machine.ismappingerror.md +0 -52
- package/docs/api/foundation-state-machine.isnetworkerror.md +0 -52
- package/docs/api/foundation-state-machine.isnotfounderror.md +0 -54
- package/docs/api/foundation-state-machine.issyntaxerror.md +0 -54
- package/docs/api/foundation-state-machine.istypeerror.md +0 -54
- package/docs/api/foundation-state-machine.isunauthorizederror.md +0 -54
- package/docs/api/foundation-state-machine.logger.md +0 -12
- package/docs/api/foundation-state-machine.machine.actor.md +0 -18
- package/docs/api/foundation-state-machine.machine.binding.md +0 -122
- package/docs/api/foundation-state-machine.machine.complete.md +0 -13
- package/docs/api/foundation-state-machine.machine.context.md +0 -13
- package/docs/api/foundation-state-machine.machine.error.md +0 -13
- package/docs/api/foundation-state-machine.machine.errors.md +0 -13
- package/docs/api/foundation-state-machine.machine.getfromcontainer.md +0 -35
- package/docs/api/foundation-state-machine.machine.getmetavaluesbykey.md +0 -58
- package/docs/api/foundation-state-machine.machine.hastag.md +0 -65
- package/docs/api/foundation-state-machine.machine.machine.md +0 -18
- package/docs/api/foundation-state-machine.machine.matches.md +0 -65
- package/docs/api/foundation-state-machine.machine.md +0 -474
- package/docs/api/foundation-state-machine.machine.meta.md +0 -13
- package/docs/api/foundation-state-machine.machine.onsendevent.md +0 -54
- package/docs/api/foundation-state-machine.machine.output.md +0 -13
- package/docs/api/foundation-state-machine.machine.provide.md +0 -74
- package/docs/api/foundation-state-machine.machine.send.md +0 -54
- package/docs/api/foundation-state-machine.machine.snapshot.md +0 -13
- package/docs/api/foundation-state-machine.machine.start.md +0 -58
- package/docs/api/foundation-state-machine.machine.startingcontext.md +0 -13
- package/docs/api/foundation-state-machine.machine.startingstate.md +0 -13
- package/docs/api/foundation-state-machine.machine.state.md +0 -13
- package/docs/api/foundation-state-machine.machine.stop.md +0 -17
- package/docs/api/foundation-state-machine.machinecontext.error.md +0 -13
- package/docs/api/foundation-state-machine.machinecontext.errors.md +0 -13
- package/docs/api/foundation-state-machine.machinecontext.md +0 -96
- package/docs/api/foundation-state-machine.mappingerror._constructor_.md +0 -66
- package/docs/api/foundation-state-machine.mappingerror.dto.md +0 -11
- package/docs/api/foundation-state-machine.mappingerror.md +0 -93
- package/docs/api/foundation-state-machine.md +0 -600
- package/docs/api/foundation-state-machine.networkerror._constructor_.md +0 -64
- package/docs/api/foundation-state-machine.networkerror.md +0 -95
- package/docs/api/foundation-state-machine.networkerror.url.md +0 -11
- package/docs/api/foundation-state-machine.responsedataextractor.md +0 -18
- package/docs/api/foundation-state-machine.responseokchecker.md +0 -13
- package/docs/api/foundation-state-machine.seterror.md +0 -25
- package/docs/api/foundation-state-machine.seterrorbykey.md +0 -65
- package/docs/api/index.md +0 -30
- package/docs/api-report.md.api.md +0 -410
|
@@ -1,600 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-state-machine](./foundation-state-machine.md)
|
|
4
|
-
|
|
5
|
-
## foundation-state-machine package
|
|
6
|
-
|
|
7
|
-
## Classes
|
|
8
|
-
|
|
9
|
-
<table><thead><tr><th>
|
|
10
|
-
|
|
11
|
-
Class
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</th><th>
|
|
15
|
-
|
|
16
|
-
Description
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</th></tr></thead>
|
|
20
|
-
<tbody><tr><td>
|
|
21
|
-
|
|
22
|
-
[APIError](./foundation-state-machine.apierror.md)
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
</td><td>
|
|
26
|
-
|
|
27
|
-
APIError.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
</td></tr>
|
|
31
|
-
<tr><td>
|
|
32
|
-
|
|
33
|
-
[DefaultFetchMachine](./foundation-state-machine.defaultfetchmachine.md)
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</td><td>
|
|
37
|
-
|
|
38
|
-
Default FetchMachine.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</td></tr>
|
|
42
|
-
<tr><td>
|
|
43
|
-
|
|
44
|
-
[GenesisServerError](./foundation-state-machine.genesisservererror.md)
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
</td><td>
|
|
48
|
-
|
|
49
|
-
GenesisServerError.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td></tr>
|
|
53
|
-
<tr><td>
|
|
54
|
-
|
|
55
|
-
[MappingError](./foundation-state-machine.mappingerror.md)
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</td><td>
|
|
59
|
-
|
|
60
|
-
MappingError.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
</td></tr>
|
|
64
|
-
<tr><td>
|
|
65
|
-
|
|
66
|
-
[NetworkError](./foundation-state-machine.networkerror.md)
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
</td><td>
|
|
70
|
-
|
|
71
|
-
NetworkError.
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
</td></tr>
|
|
75
|
-
</tbody></table>
|
|
76
|
-
|
|
77
|
-
## Abstract Classes
|
|
78
|
-
|
|
79
|
-
<table><thead><tr><th>
|
|
80
|
-
|
|
81
|
-
Abstract Class
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
</th><th>
|
|
85
|
-
|
|
86
|
-
Description
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</th></tr></thead>
|
|
90
|
-
<tbody><tr><td>
|
|
91
|
-
|
|
92
|
-
[AbstractMachine](./foundation-state-machine.abstractmachine.md)
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
</td><td>
|
|
96
|
-
|
|
97
|
-
AbstractMachine base class.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
</td></tr>
|
|
101
|
-
</tbody></table>
|
|
102
|
-
|
|
103
|
-
## Functions
|
|
104
|
-
|
|
105
|
-
<table><thead><tr><th>
|
|
106
|
-
|
|
107
|
-
Function
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
</th><th>
|
|
111
|
-
|
|
112
|
-
Description
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
</th></tr></thead>
|
|
116
|
-
<tbody><tr><td>
|
|
117
|
-
|
|
118
|
-
[assertEvent(event, type)](./foundation-state-machine.assertevent.md)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</td><td>
|
|
122
|
-
|
|
123
|
-
assertEvent.
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
</td></tr>
|
|
127
|
-
<tr><td>
|
|
128
|
-
|
|
129
|
-
[createErrorStateNode(key, metaContent, final)](./foundation-state-machine.createerrorstatenode.md)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
</td><td>
|
|
133
|
-
|
|
134
|
-
Creates an error state node.
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
</td></tr>
|
|
138
|
-
<tr><td>
|
|
139
|
-
|
|
140
|
-
[createFetchPolicy(maxAttempts, retryCodes, backoff, timeoutDuration, logEvents)](./foundation-state-machine.createfetchpolicy.md)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
</td><td>
|
|
144
|
-
|
|
145
|
-
A fetch policy factory.
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
</td></tr>
|
|
149
|
-
<tr><td>
|
|
150
|
-
|
|
151
|
-
[createResponseDataExtractorWithDeserializer(deserializer, extractor)](./foundation-state-machine.createresponsedataextractorwithdeserializer.md)
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
</td><td>
|
|
155
|
-
|
|
156
|
-
Creates an extractor that applies a deserializer to the extracted response data.
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
</td></tr>
|
|
160
|
-
<tr><td>
|
|
161
|
-
|
|
162
|
-
[errorWorkflowInput(key)](./foundation-state-machine.errorworkflowinput.md)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
</td><td>
|
|
166
|
-
|
|
167
|
-
Error workflow input.
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
</td></tr>
|
|
171
|
-
<tr><td>
|
|
172
|
-
|
|
173
|
-
[isAbortError({ event })](./foundation-state-machine.isaborterror.md)
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
</td><td>
|
|
177
|
-
|
|
178
|
-
isAbortError.
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
</td></tr>
|
|
182
|
-
<tr><td>
|
|
183
|
-
|
|
184
|
-
[isActorErrorEvent(actorId, event)](./foundation-state-machine.isactorerrorevent.md)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
</td><td>
|
|
188
|
-
|
|
189
|
-
isActorErrorEvent.
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
</td></tr>
|
|
193
|
-
<tr><td>
|
|
194
|
-
|
|
195
|
-
[isAPIError(error)](./foundation-state-machine.isapierror.md)
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
</td><td>
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
</td></tr>
|
|
202
|
-
<tr><td>
|
|
203
|
-
|
|
204
|
-
[isDoneInvokeEvent(event)](./foundation-state-machine.isdoneinvokeevent.md)
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
</td><td>
|
|
208
|
-
|
|
209
|
-
isDoneInvokeEvent.
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</td></tr>
|
|
213
|
-
<tr><td>
|
|
214
|
-
|
|
215
|
-
[isErrorCustomEvent(event)](./foundation-state-machine.iserrorcustomevent.md)
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
</td><td>
|
|
219
|
-
|
|
220
|
-
isErrorCustomEvent.
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
</td></tr>
|
|
224
|
-
<tr><td>
|
|
225
|
-
|
|
226
|
-
[isErrorEvent(event)](./foundation-state-machine.iserrorevent.md)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
</td><td>
|
|
230
|
-
|
|
231
|
-
isErrorEvent.
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
</td></tr>
|
|
235
|
-
<tr><td>
|
|
236
|
-
|
|
237
|
-
[isErrorType(type)](./foundation-state-machine.iserrortype.md)
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
</td><td>
|
|
241
|
-
|
|
242
|
-
isErrorType.
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
</td></tr>
|
|
246
|
-
<tr><td>
|
|
247
|
-
|
|
248
|
-
[isEventWithParams(event)](./foundation-state-machine.iseventwithparams.md)
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
</td><td>
|
|
252
|
-
|
|
253
|
-
isEventWithParams.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
</td></tr>
|
|
257
|
-
<tr><td>
|
|
258
|
-
|
|
259
|
-
[isGenesisServerError(error)](./foundation-state-machine.isgenesisservererror.md)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
</td><td>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
</td></tr>
|
|
266
|
-
<tr><td>
|
|
267
|
-
|
|
268
|
-
[isMappingError(error)](./foundation-state-machine.ismappingerror.md)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
</td><td>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
</td></tr>
|
|
275
|
-
<tr><td>
|
|
276
|
-
|
|
277
|
-
[isNetworkError(error)](./foundation-state-machine.isnetworkerror.md)
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
</td><td>
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
</td></tr>
|
|
284
|
-
<tr><td>
|
|
285
|
-
|
|
286
|
-
[isNotFoundError(error)](./foundation-state-machine.isnotfounderror.md)
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
</td><td>
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
</td></tr>
|
|
293
|
-
<tr><td>
|
|
294
|
-
|
|
295
|
-
[isSyntaxError({ event })](./foundation-state-machine.issyntaxerror.md)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
</td><td>
|
|
299
|
-
|
|
300
|
-
isSyntaxError.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
</td></tr>
|
|
304
|
-
<tr><td>
|
|
305
|
-
|
|
306
|
-
[isTypeError({ event })](./foundation-state-machine.istypeerror.md)
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
</td><td>
|
|
310
|
-
|
|
311
|
-
isTypeError.
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
</td></tr>
|
|
315
|
-
<tr><td>
|
|
316
|
-
|
|
317
|
-
[isUnauthorizedError(error)](./foundation-state-machine.isunauthorizederror.md)
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
</td><td>
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
</td></tr>
|
|
324
|
-
<tr><td>
|
|
325
|
-
|
|
326
|
-
[setErrorByKey(key)](./foundation-state-machine.seterrorbykey.md)
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
</td><td>
|
|
330
|
-
|
|
331
|
-
Set error by key action.
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
</td></tr>
|
|
335
|
-
</tbody></table>
|
|
336
|
-
|
|
337
|
-
## Interfaces
|
|
338
|
-
|
|
339
|
-
<table><thead><tr><th>
|
|
340
|
-
|
|
341
|
-
Interface
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
</th><th>
|
|
345
|
-
|
|
346
|
-
Description
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
</th></tr></thead>
|
|
350
|
-
<tbody><tr><td>
|
|
351
|
-
|
|
352
|
-
[FetchConfig](./foundation-state-machine.fetchconfig.md)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
</td><td>
|
|
356
|
-
|
|
357
|
-
FetchConfig interface.
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
</td></tr>
|
|
361
|
-
<tr><td>
|
|
362
|
-
|
|
363
|
-
[FetchMachine](./foundation-state-machine.fetchmachine.md)
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
</td><td>
|
|
367
|
-
|
|
368
|
-
FetchMachine interface.
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
</td></tr>
|
|
372
|
-
<tr><td>
|
|
373
|
-
|
|
374
|
-
[FetchMachineContext](./foundation-state-machine.fetchmachinecontext.md)
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
</td><td>
|
|
378
|
-
|
|
379
|
-
FetchMachineContext interface.
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
</td></tr>
|
|
383
|
-
<tr><td>
|
|
384
|
-
|
|
385
|
-
[Machine](./foundation-state-machine.machine.md)
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
</td><td>
|
|
389
|
-
|
|
390
|
-
Machine interface.
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
</td></tr>
|
|
394
|
-
<tr><td>
|
|
395
|
-
|
|
396
|
-
[MachineContext](./foundation-state-machine.machinecontext.md)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
</td><td>
|
|
400
|
-
|
|
401
|
-
MachineContext interface.
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
</td></tr>
|
|
405
|
-
</tbody></table>
|
|
406
|
-
|
|
407
|
-
## Variables
|
|
408
|
-
|
|
409
|
-
<table><thead><tr><th>
|
|
410
|
-
|
|
411
|
-
Variable
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
</th><th>
|
|
415
|
-
|
|
416
|
-
Description
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
</th></tr></thead>
|
|
420
|
-
<tbody><tr><td>
|
|
421
|
-
|
|
422
|
-
[defaultFetchConfig](./foundation-state-machine.defaultfetchconfig.md)
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
</td><td>
|
|
426
|
-
|
|
427
|
-
The default fetch config.
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
</td></tr>
|
|
431
|
-
<tr><td>
|
|
432
|
-
|
|
433
|
-
[defaultFetchMachineContext](./foundation-state-machine.defaultfetchmachinecontext.md)
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
</td><td>
|
|
437
|
-
|
|
438
|
-
Default FetchMachineContext.
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
</td></tr>
|
|
442
|
-
<tr><td>
|
|
443
|
-
|
|
444
|
-
[defaultFetchPolicy](./foundation-state-machine.defaultfetchpolicy.md)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
</td><td>
|
|
448
|
-
|
|
449
|
-
The default fetch policy.
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
</td></tr>
|
|
453
|
-
<tr><td>
|
|
454
|
-
|
|
455
|
-
[defaultResponseDataExtractor](./foundation-state-machine.defaultresponsedataextractor.md)
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
</td><td>
|
|
459
|
-
|
|
460
|
-
ResponseDataExtractor type.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
</td></tr>
|
|
464
|
-
<tr><td>
|
|
465
|
-
|
|
466
|
-
[defaultResponseOkChecker](./foundation-state-machine.defaultresponseokchecker.md)
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
</td><td>
|
|
470
|
-
|
|
471
|
-
ResponseOkChecker type.
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
</td></tr>
|
|
475
|
-
<tr><td>
|
|
476
|
-
|
|
477
|
-
[defaultRetryStatsCodes](./foundation-state-machine.defaultretrystatscodes.md)
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
</td><td>
|
|
481
|
-
|
|
482
|
-
Default retry stats codes.
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
</td></tr>
|
|
486
|
-
<tr><td>
|
|
487
|
-
|
|
488
|
-
[escalateError](./foundation-state-machine.escalateerror.md)
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
</td><td>
|
|
492
|
-
|
|
493
|
-
Escalate context error action.
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
</td></tr>
|
|
497
|
-
<tr><td>
|
|
498
|
-
|
|
499
|
-
[logger](./foundation-state-machine.logger.md)
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
</td><td>
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
</td></tr>
|
|
507
|
-
<tr><td>
|
|
508
|
-
|
|
509
|
-
[setError](./foundation-state-machine.seterror.md)
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
</td><td>
|
|
513
|
-
|
|
514
|
-
Set error action.
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
</td></tr>
|
|
518
|
-
</tbody></table>
|
|
519
|
-
|
|
520
|
-
## Type Aliases
|
|
521
|
-
|
|
522
|
-
<table><thead><tr><th>
|
|
523
|
-
|
|
524
|
-
Type Alias
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
</th><th>
|
|
528
|
-
|
|
529
|
-
Description
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
</th></tr></thead>
|
|
533
|
-
<tbody><tr><td>
|
|
534
|
-
|
|
535
|
-
[ErrorWorkflowInput](./foundation-state-machine.errorworkflowinput.md)
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
</td><td>
|
|
539
|
-
|
|
540
|
-
ErrorWorkflowInput type.
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
</td></tr>
|
|
544
|
-
<tr><td>
|
|
545
|
-
|
|
546
|
-
[FetchMachineEvent](./foundation-state-machine.fetchmachineevent.md)
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
</td><td>
|
|
550
|
-
|
|
551
|
-
FetchMachineEvent type.
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
</td></tr>
|
|
555
|
-
<tr><td>
|
|
556
|
-
|
|
557
|
-
[FetchMachineEventMap](./foundation-state-machine.fetchmachineeventmap.md)
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
</td><td>
|
|
561
|
-
|
|
562
|
-
FetchMachineEventMap type.
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
</td></tr>
|
|
566
|
-
<tr><td>
|
|
567
|
-
|
|
568
|
-
[FetchMachineOutput](./foundation-state-machine.fetchmachineoutput.md)
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
</td><td>
|
|
572
|
-
|
|
573
|
-
FetchMachineOutput type.
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
</td></tr>
|
|
577
|
-
<tr><td>
|
|
578
|
-
|
|
579
|
-
[ResponseDataExtractor](./foundation-state-machine.responsedataextractor.md)
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
</td><td>
|
|
583
|
-
|
|
584
|
-
ResponseDataExtractor type.
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
</td></tr>
|
|
588
|
-
<tr><td>
|
|
589
|
-
|
|
590
|
-
[ResponseOkChecker](./foundation-state-machine.responseokchecker.md)
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
</td><td>
|
|
594
|
-
|
|
595
|
-
ResponseOkChecker type.
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
</td></tr>
|
|
599
|
-
</tbody></table>
|
|
600
|
-
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
|
-
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-state-machine](./foundation-state-machine.md) > [NetworkError](./foundation-state-machine.networkerror.md) > [(constructor)](./foundation-state-machine.networkerror._constructor_.md)
|
|
4
|
-
|
|
5
|
-
## NetworkError.(constructor)
|
|
6
|
-
|
|
7
|
-
Constructs a new instance of the `NetworkError` class
|
|
8
|
-
|
|
9
|
-
**Signature:**
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
constructor(url: string, message?: string);
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
## Parameters
|
|
16
|
-
|
|
17
|
-
<table><thead><tr><th>
|
|
18
|
-
|
|
19
|
-
Parameter
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</th><th>
|
|
23
|
-
|
|
24
|
-
Type
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</th><th>
|
|
28
|
-
|
|
29
|
-
Description
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</th></tr></thead>
|
|
33
|
-
<tbody><tr><td>
|
|
34
|
-
|
|
35
|
-
url
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
</td><td>
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
</td><td>
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</td></tr>
|
|
47
|
-
<tr><td>
|
|
48
|
-
|
|
49
|
-
message
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
</td><td>
|
|
53
|
-
|
|
54
|
-
string
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
</td><td>
|
|
58
|
-
|
|
59
|
-
_(Optional)_
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
</td></tr>
|
|
63
|
-
</tbody></table>
|
|
64
|
-
|