@jd-data-limited/easy-fm 4.0.14 → 4.1.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.
Files changed (65) hide show
  1. package/package.json +12 -6
  2. package/src/FMError.d.ts +2 -2
  3. package/src/FMError.js +507 -508
  4. package/src/FMError.ts +510 -511
  5. package/src/bin/cli.js +7 -5
  6. package/src/bin/generateTypes.js +215 -121
  7. package/src/connection/FMHost.d.ts +28 -6
  8. package/src/connection/FMHost.js +52 -25
  9. package/src/connection/FMHost.ts +75 -43
  10. package/src/connection/HostBase.d.ts +7 -3
  11. package/src/connection/HostBase.ts +8 -4
  12. package/src/connection/database.d.ts +50 -17
  13. package/src/connection/database.js +94 -66
  14. package/src/connection/database.ts +125 -105
  15. package/src/connection/databaseBase.d.ts +11 -6
  16. package/src/connection/databaseBase.ts +9 -8
  17. package/src/connection/generateAuthorizationHeaders.d.ts +1 -1
  18. package/src/connection/generateAuthorizationHeaders.js +10 -10
  19. package/src/connection/generateAuthorizationHeaders.ts +21 -21
  20. package/src/databaseStructure.d.ts +2 -4
  21. package/src/databaseStructure.ts +3 -5
  22. package/src/index.d.ts +17 -17
  23. package/src/index.js +14 -14
  24. package/src/index.ts +28 -25
  25. package/src/layouts/layout.d.ts +17 -6
  26. package/src/layouts/layout.js +19 -8
  27. package/src/layouts/layout.ts +33 -23
  28. package/src/layouts/layoutBase.d.ts +5 -5
  29. package/src/layouts/layoutBase.ts +6 -6
  30. package/src/layouts/layoutInterface.d.ts +3 -5
  31. package/src/layouts/layoutInterface.ts +4 -6
  32. package/src/layouts/layoutRecordManager.d.ts +29 -6
  33. package/src/layouts/layoutRecordManager.js +32 -9
  34. package/src/layouts/layoutRecordManager.ts +42 -19
  35. package/src/layouts/recordFieldsMap.d.ts +2 -4
  36. package/src/layouts/recordFieldsMap.ts +2 -4
  37. package/src/models/apiResults.d.ts +7 -13
  38. package/src/models/apiResults.ts +58 -58
  39. package/src/records/field.d.ts +42 -12
  40. package/src/records/field.js +69 -59
  41. package/src/records/field.ts +102 -81
  42. package/src/records/getOperations/recordGetOperation.d.ts +44 -24
  43. package/src/records/getOperations/recordGetOperation.js +89 -58
  44. package/src/records/getOperations/recordGetOperation.ts +137 -108
  45. package/src/records/layoutRecord.d.ts +28 -14
  46. package/src/records/layoutRecord.js +75 -65
  47. package/src/records/layoutRecord.ts +126 -123
  48. package/src/records/layoutRecordBase.d.ts +2 -2
  49. package/src/records/layoutRecordBase.ts +3 -3
  50. package/src/records/portal.d.ts +19 -5
  51. package/src/records/portal.js +19 -5
  52. package/src/records/portal.ts +28 -16
  53. package/src/records/portalBase.d.ts +5 -5
  54. package/src/records/portalBase.ts +6 -6
  55. package/src/records/portalRecord.d.ts +16 -8
  56. package/src/records/portalRecord.js +16 -6
  57. package/src/records/portalRecord.ts +29 -19
  58. package/src/records/recordBase.d.ts +17 -7
  59. package/src/records/recordBase.js +32 -22
  60. package/src/records/recordBase.ts +50 -43
  61. package/src/types.d.ts +21 -24
  62. package/src/types.ts +55 -59
  63. package/src/utils/query.d.ts +12 -5
  64. package/src/utils/query.js +28 -9
  65. package/src/utils/query.ts +40 -15
package/src/FMError.js CHANGED
@@ -1,1015 +1,1014 @@
1
1
  /*
2
2
  * Copyright (c) 2023-2024. See LICENSE file for more information
3
3
  */
4
- // @ts-ignore
5
4
  export const errs = [
6
5
  {
7
- "e": -1,
8
- "d": "Unknown error"
6
+ e: -1,
7
+ d: 'Unknown error'
9
8
  },
10
9
  {
11
- "e": 0,
12
- "d": "No error"
10
+ e: 0,
11
+ d: 'No error'
13
12
  },
14
13
  {
15
- "e": 1,
16
- "d": "User canceled action"
14
+ e: 1,
15
+ d: 'User canceled action'
17
16
  },
18
17
  {
19
- "e": 2,
20
- "d": "Memory error"
18
+ e: 2,
19
+ d: 'Memory error'
21
20
  },
22
21
  {
23
- "e": 3,
24
- "d": "Command is unavailable (for example, wrong operating system or mode)"
22
+ e: 3,
23
+ d: 'Command is unavailable (for example, wrong operating system or mode)'
25
24
  },
26
25
  {
27
- "e": 4,
28
- "d": "Command is unknown"
26
+ e: 4,
27
+ d: 'Command is unknown'
29
28
  },
30
29
  {
31
- "e": 5,
32
- "d": "Command is invalid (for example, a Set Field script step does not have a calculation specified)"
30
+ e: 5,
31
+ d: 'Command is invalid (for example, a Set Field script step does not have a calculation specified)'
33
32
  },
34
33
  {
35
- "e": 6,
36
- "d": "File is read-only"
34
+ e: 6,
35
+ d: 'File is read-only'
37
36
  },
38
37
  {
39
- "e": 7,
40
- "d": "Running out of memory"
38
+ e: 7,
39
+ d: 'Running out of memory'
41
40
  },
42
41
  {
43
- "e": 8,
44
- "d": "Empty result"
42
+ e: 8,
43
+ d: 'Empty result'
45
44
  },
46
45
  {
47
- "e": 9,
48
- "d": "Insufficient privileges"
46
+ e: 9,
47
+ d: 'Insufficient privileges'
49
48
  },
50
49
  {
51
- "e": 10,
52
- "d": "Requested data is missing"
50
+ e: 10,
51
+ d: 'Requested data is missing'
53
52
  },
54
53
  {
55
- "e": 11,
56
- "d": "Name is not valid"
54
+ e: 11,
55
+ d: 'Name is not valid'
57
56
  },
58
57
  {
59
- "e": 12,
60
- "d": "Name already exists"
58
+ e: 12,
59
+ d: 'Name already exists'
61
60
  },
62
61
  {
63
- "e": 13,
64
- "d": "File or object is in use"
62
+ e: 13,
63
+ d: 'File or object is in use'
65
64
  },
66
65
  {
67
- "e": 14,
68
- "d": "Out of range"
66
+ e: 14,
67
+ d: 'Out of range'
69
68
  },
70
69
  {
71
- "e": 15,
72
- "d": "Can't divide by zero"
70
+ e: 15,
71
+ d: "Can't divide by zero"
73
72
  },
74
73
  {
75
- "e": 16,
76
- "d": "Operation failed; request retry (for example, a user query)"
74
+ e: 16,
75
+ d: 'Operation failed; request retry (for example, a user query)'
77
76
  },
78
77
  {
79
- "e": 17,
80
- "d": "Attempt to convert foreign character set to UTF-16 failed"
78
+ e: 17,
79
+ d: 'Attempt to convert foreign character set to UTF-16 failed'
81
80
  },
82
81
  {
83
- "e": 18,
84
- "d": "Client must provide account information to proceed"
82
+ e: 18,
83
+ d: 'Client must provide account information to proceed'
85
84
  },
86
85
  {
87
- "e": 19,
88
- "d": "String contains characters other than A-Z, a-z, 0-9 (ASCII)"
86
+ e: 19,
87
+ d: 'String contains characters other than A-Z, a-z, 0-9 (ASCII)'
89
88
  },
90
89
  {
91
- "e": 20,
92
- "d": "Command/operation canceled by triggered script"
90
+ e: 20,
91
+ d: 'Command/operation canceled by triggered script'
93
92
  },
94
93
  {
95
- "e": 21,
96
- "d": "Request not supported (for example, when creating a hard link on a file system that does not support hard links)"
94
+ e: 21,
95
+ d: 'Request not supported (for example, when creating a hard link on a file system that does not support hard links)'
97
96
  },
98
97
  {
99
- "e": 100,
100
- "d": "File is missing"
98
+ e: 100,
99
+ d: 'File is missing'
101
100
  },
102
101
  {
103
- "e": 101,
104
- "d": "Record is missing"
102
+ e: 101,
103
+ d: 'Record is missing'
105
104
  },
106
105
  {
107
- "e": 102,
108
- "d": "Field is missing"
106
+ e: 102,
107
+ d: 'Field is missing'
109
108
  },
110
109
  {
111
- "e": 103,
112
- "d": "Relationship is missing"
110
+ e: 103,
111
+ d: 'Relationship is missing'
113
112
  },
114
113
  {
115
- "e": 104,
116
- "d": "Script is missing"
114
+ e: 104,
115
+ d: 'Script is missing'
117
116
  },
118
117
  {
119
- "e": 105,
120
- "d": "Layout is missing"
118
+ e: 105,
119
+ d: 'Layout is missing'
121
120
  },
122
121
  {
123
- "e": 106,
124
- "d": "Table is missing"
122
+ e: 106,
123
+ d: 'Table is missing'
125
124
  },
126
125
  {
127
- "e": 107,
128
- "d": "Index is missing"
126
+ e: 107,
127
+ d: 'Index is missing'
129
128
  },
130
129
  {
131
- "e": 108,
132
- "d": "Value list is missing"
130
+ e: 108,
131
+ d: 'Value list is missing'
133
132
  },
134
133
  {
135
- "e": 109,
136
- "d": "Privilege set is missing"
134
+ e: 109,
135
+ d: 'Privilege set is missing'
137
136
  },
138
137
  {
139
- "e": 110,
140
- "d": "Related tables are missing"
138
+ e: 110,
139
+ d: 'Related tables are missing'
141
140
  },
142
141
  {
143
- "e": 111,
144
- "d": "Field repetition is invalid"
142
+ e: 111,
143
+ d: 'Field repetition is invalid'
145
144
  },
146
145
  {
147
- "e": 112,
148
- "d": "Window is missing"
146
+ e: 112,
147
+ d: 'Window is missing'
149
148
  },
150
149
  {
151
- "e": 113,
152
- "d": "Function is missing"
150
+ e: 113,
151
+ d: 'Function is missing'
153
152
  },
154
153
  {
155
- "e": 114,
156
- "d": "File reference is missing"
154
+ e: 114,
155
+ d: 'File reference is missing'
157
156
  },
158
157
  {
159
- "e": 115,
160
- "d": "Menu set is missing"
158
+ e: 115,
159
+ d: 'Menu set is missing'
161
160
  },
162
161
  {
163
- "e": 116,
164
- "d": "Layout object is missing"
162
+ e: 116,
163
+ d: 'Layout object is missing'
165
164
  },
166
165
  {
167
- "e": 117,
168
- "d": "Data source is missing"
166
+ e: 117,
167
+ d: 'Data source is missing'
169
168
  },
170
169
  {
171
- "e": 118,
172
- "d": "Theme is missing"
170
+ e: 118,
171
+ d: 'Theme is missing'
173
172
  },
174
173
  {
175
- "e": 130,
176
- "d": "Files are damaged or missing and must be reinstalled"
174
+ e: 130,
175
+ d: 'Files are damaged or missing and must be reinstalled'
177
176
  },
178
177
  {
179
- "e": 131,
180
- "d": "Language pack files are missing"
178
+ e: 131,
179
+ d: 'Language pack files are missing'
181
180
  },
182
181
  {
183
- "e": 200,
184
- "d": "Record access is denied"
182
+ e: 200,
183
+ d: 'Record access is denied'
185
184
  },
186
185
  {
187
- "e": 201,
188
- "d": "Field cannot be modified"
186
+ e: 201,
187
+ d: 'Field cannot be modified'
189
188
  },
190
189
  {
191
- "e": 202,
192
- "d": "Field access is denied"
190
+ e: 202,
191
+ d: 'Field access is denied'
193
192
  },
194
193
  {
195
- "e": 203,
196
- "d": "No records in file to print, or password doesn't allow print access"
194
+ e: 203,
195
+ d: "No records in file to print, or password doesn't allow print access"
197
196
  },
198
197
  {
199
- "e": 204,
200
- "d": "No access to field(s) in sort order"
198
+ e: 204,
199
+ d: 'No access to field(s) in sort order'
201
200
  },
202
201
  {
203
- "e": 205,
204
- "d": "User does not have access privileges to create new records; import will overwrite existing data"
202
+ e: 205,
203
+ d: 'User does not have access privileges to create new records; import will overwrite existing data'
205
204
  },
206
205
  {
207
- "e": 206,
208
- "d": "User does not have password change privileges, or file is not modifiable"
206
+ e: 206,
207
+ d: 'User does not have password change privileges, or file is not modifiable'
209
208
  },
210
209
  {
211
- "e": 207,
212
- "d": "User does not have privileges to change database schema, or file is not modifiable"
210
+ e: 207,
211
+ d: 'User does not have privileges to change database schema, or file is not modifiable'
213
212
  },
214
213
  {
215
- "e": 208,
216
- "d": "Password does not contain enough characters"
214
+ e: 208,
215
+ d: 'Password does not contain enough characters'
217
216
  },
218
217
  {
219
- "e": 209,
220
- "d": "New password must be different from existing one"
218
+ e: 209,
219
+ d: 'New password must be different from existing one'
221
220
  },
222
221
  {
223
- "e": 210,
224
- "d": "User account is inactive"
222
+ e: 210,
223
+ d: 'User account is inactive'
225
224
  },
226
225
  {
227
- "e": 211,
228
- "d": "Password has expired "
226
+ e: 211,
227
+ d: 'Password has expired '
229
228
  },
230
229
  {
231
- "e": 212,
232
- "d": "Invalid user account and/or password; please try again"
230
+ e: 212,
231
+ d: 'Invalid user account and/or password; please try again'
233
232
  },
234
233
  {
235
- "e": 214,
236
- "d": "Too many login attempts"
234
+ e: 214,
235
+ d: 'Too many login attempts'
237
236
  },
238
237
  {
239
- "e": 215,
240
- "d": "Administrator privileges cannot be duplicated"
238
+ e: 215,
239
+ d: 'Administrator privileges cannot be duplicated'
241
240
  },
242
241
  {
243
- "e": 216,
244
- "d": "Guest account cannot be duplicated"
242
+ e: 216,
243
+ d: 'Guest account cannot be duplicated'
245
244
  },
246
245
  {
247
- "e": 217,
248
- "d": "User does not have sufficient privileges to modify administrator account"
246
+ e: 217,
247
+ d: 'User does not have sufficient privileges to modify administrator account'
249
248
  },
250
249
  {
251
- "e": 218,
252
- "d": "Password and verify password do not match"
250
+ e: 218,
251
+ d: 'Password and verify password do not match'
253
252
  },
254
253
  {
255
- "e": 300,
256
- "d": "File is locked or in use"
254
+ e: 300,
255
+ d: 'File is locked or in use'
257
256
  },
258
257
  {
259
- "e": 301,
260
- "d": "Record is in use by another user"
258
+ e: 301,
259
+ d: 'Record is in use by another user'
261
260
  },
262
261
  {
263
- "e": 302,
264
- "d": "Table is in use by another user"
262
+ e: 302,
263
+ d: 'Table is in use by another user'
265
264
  },
266
265
  {
267
- "e": 303,
268
- "d": "Database schema is in use by another user"
266
+ e: 303,
267
+ d: 'Database schema is in use by another user'
269
268
  },
270
269
  {
271
- "e": 304,
272
- "d": "Layout is in use by another user"
270
+ e: 304,
271
+ d: 'Layout is in use by another user'
273
272
  },
274
273
  {
275
- "e": 306,
276
- "d": "Record modification ID does not match"
274
+ e: 306,
275
+ d: 'Record modification ID does not match'
277
276
  },
278
277
  {
279
- "e": 307,
280
- "d": "Transaction could not be locked because of a communication error with the host"
278
+ e: 307,
279
+ d: 'Transaction could not be locked because of a communication error with the host'
281
280
  },
282
281
  {
283
- "e": 308,
284
- "d": "Theme is locked and in use by another user"
282
+ e: 308,
283
+ d: 'Theme is locked and in use by another user'
285
284
  },
286
285
  {
287
- "e": 400,
288
- "d": "Find criteria are empty"
286
+ e: 400,
287
+ d: 'Find criteria are empty'
289
288
  },
290
289
  {
291
- "e": 401,
292
- "d": "No records match the request"
290
+ e: 401,
291
+ d: 'No records match the request'
293
292
  },
294
293
  {
295
- "e": 402,
296
- "d": "Selected field is not a match field for a lookup"
294
+ e: 402,
295
+ d: 'Selected field is not a match field for a lookup'
297
296
  },
298
297
  {
299
- "e": 404,
300
- "d": "Sort order is invalid"
298
+ e: 404,
299
+ d: 'Sort order is invalid'
301
300
  },
302
301
  {
303
- "e": 405,
304
- "d": "Number of records specified exceeds number of records that can be omitted"
302
+ e: 405,
303
+ d: 'Number of records specified exceeds number of records that can be omitted'
305
304
  },
306
305
  {
307
- "e": 406,
308
- "d": "Replace/reserialize criteria are invalid"
306
+ e: 406,
307
+ d: 'Replace/reserialize criteria are invalid'
309
308
  },
310
309
  {
311
- "e": 407,
312
- "d": "One or both match fields are missing (invalid relationship)"
310
+ e: 407,
311
+ d: 'One or both match fields are missing (invalid relationship)'
313
312
  },
314
313
  {
315
- "e": 408,
316
- "d": "Specified field has inappropriate data type for this operation"
314
+ e: 408,
315
+ d: 'Specified field has inappropriate data type for this operation'
317
316
  },
318
317
  {
319
- "e": 409,
320
- "d": "Import order is invalid"
318
+ e: 409,
319
+ d: 'Import order is invalid'
321
320
  },
322
321
  {
323
- "e": 410,
324
- "d": "Export order is invalid"
322
+ e: 410,
323
+ d: 'Export order is invalid'
325
324
  },
326
325
  {
327
- "e": 412,
328
- "d": "Wrong version of FileMaker Pro Advanced used to recover file"
326
+ e: 412,
327
+ d: 'Wrong version of FileMaker Pro Advanced used to recover file'
329
328
  },
330
329
  {
331
- "e": 413,
332
- "d": "Specified field has inappropriate field type"
330
+ e: 413,
331
+ d: 'Specified field has inappropriate field type'
333
332
  },
334
333
  {
335
- "e": 414,
336
- "d": "Layout cannot display the result"
334
+ e: 414,
335
+ d: 'Layout cannot display the result'
337
336
  },
338
337
  {
339
- "e": 415,
340
- "d": "One or more required related records are not available"
338
+ e: 415,
339
+ d: 'One or more required related records are not available'
341
340
  },
342
341
  {
343
- "e": 416,
344
- "d": "A primary key is required from the data source table"
342
+ e: 416,
343
+ d: 'A primary key is required from the data source table'
345
344
  },
346
345
  {
347
- "e": 417,
348
- "d": "File is not a supported data source"
346
+ e: 417,
347
+ d: 'File is not a supported data source'
349
348
  },
350
349
  {
351
- "e": 418,
352
- "d": "Internal failure in INSERT operation into a field"
350
+ e: 418,
351
+ d: 'Internal failure in INSERT operation into a field'
353
352
  },
354
353
  {
355
- "e": 500,
356
- "d": "Date value does not meet validation entry options"
354
+ e: 500,
355
+ d: 'Date value does not meet validation entry options'
357
356
  },
358
357
  {
359
- "e": 501,
360
- "d": "Time value does not meet validation entry options"
358
+ e: 501,
359
+ d: 'Time value does not meet validation entry options'
361
360
  },
362
361
  {
363
- "e": 502,
364
- "d": "Number value does not meet validation entry options"
362
+ e: 502,
363
+ d: 'Number value does not meet validation entry options'
365
364
  },
366
365
  {
367
- "e": 503,
368
- "d": "Value in field is not within the range specified in validation entry options"
366
+ e: 503,
367
+ d: 'Value in field is not within the range specified in validation entry options'
369
368
  },
370
369
  {
371
- "e": 504,
372
- "d": "Value in field is not unique, as required in validation entry options"
370
+ e: 504,
371
+ d: 'Value in field is not unique, as required in validation entry options'
373
372
  },
374
373
  {
375
- "e": 505,
376
- "d": "Value in field is not an existing value in the file, as required in validation entry options"
374
+ e: 505,
375
+ d: 'Value in field is not an existing value in the file, as required in validation entry options'
377
376
  },
378
377
  {
379
- "e": 506,
380
- "d": "Value in field is not listed in the value list specified in validation entry option"
378
+ e: 506,
379
+ d: 'Value in field is not listed in the value list specified in validation entry option'
381
380
  },
382
381
  {
383
- "e": 507,
384
- "d": "Value in field failed calculation test of validation entry option"
382
+ e: 507,
383
+ d: 'Value in field failed calculation test of validation entry option'
385
384
  },
386
385
  {
387
- "e": 508,
388
- "d": "Invalid value entered in Find mode"
386
+ e: 508,
387
+ d: 'Invalid value entered in Find mode'
389
388
  },
390
389
  {
391
- "e": 509,
392
- "d": "Field requires a valid value"
390
+ e: 509,
391
+ d: 'Field requires a valid value'
393
392
  },
394
393
  {
395
- "e": 510,
396
- "d": "Related value is empty or unavailable"
394
+ e: 510,
395
+ d: 'Related value is empty or unavailable'
397
396
  },
398
397
  {
399
- "e": 511,
400
- "d": "Value in field exceeds maximum field size"
398
+ e: 511,
399
+ d: 'Value in field exceeds maximum field size'
401
400
  },
402
401
  {
403
- "e": 512,
404
- "d": "Record was already modified by another user"
402
+ e: 512,
403
+ d: 'Record was already modified by another user'
405
404
  },
406
405
  {
407
- "e": 513,
408
- "d": "No validation was specified but data cannot fit into the field"
406
+ e: 513,
407
+ d: 'No validation was specified but data cannot fit into the field'
409
408
  },
410
409
  {
411
- "e": 600,
412
- "d": "Print error has occurred"
410
+ e: 600,
411
+ d: 'Print error has occurred'
413
412
  },
414
413
  {
415
- "e": 601,
416
- "d": "Combined header and footer exceed one page"
414
+ e: 601,
415
+ d: 'Combined header and footer exceed one page'
417
416
  },
418
417
  {
419
- "e": 602,
420
- "d": "Body doesn't fit on a page for current column setup"
418
+ e: 602,
419
+ d: "Body doesn't fit on a page for current column setup"
421
420
  },
422
421
  {
423
- "e": 603,
424
- "d": "Print connection lost"
422
+ e: 603,
423
+ d: 'Print connection lost'
425
424
  },
426
425
  {
427
- "e": 700,
428
- "d": "File is of the wrong file type for import"
426
+ e: 700,
427
+ d: 'File is of the wrong file type for import'
429
428
  },
430
429
  {
431
- "e": 706,
432
- "d": "EPS file has no preview image"
430
+ e: 706,
431
+ d: 'EPS file has no preview image'
433
432
  },
434
433
  {
435
- "e": 707,
436
- "d": "Graphic translator cannot be found"
434
+ e: 707,
435
+ d: 'Graphic translator cannot be found'
437
436
  },
438
437
  {
439
- "e": 708,
440
- "d": "Can't import the file, or need color monitor support to import file"
438
+ e: 708,
439
+ d: "Can't import the file, or need color monitor support to import file"
441
440
  },
442
441
  {
443
- "e": 711,
444
- "d": "Import translator cannot be found"
442
+ e: 711,
443
+ d: 'Import translator cannot be found'
445
444
  },
446
445
  {
447
- "e": 714,
448
- "d": "Password privileges do not allow the operation"
446
+ e: 714,
447
+ d: 'Password privileges do not allow the operation'
449
448
  },
450
449
  {
451
- "e": 715,
452
- "d": "Specified Excel worksheet or named range is missing"
450
+ e: 715,
451
+ d: 'Specified Excel worksheet or named range is missing'
453
452
  },
454
453
  {
455
- "e": 716,
456
- "d": "A SQL query using DELETE, INSERT, or UPDATE is not allowed for ODBC import"
454
+ e: 716,
455
+ d: 'A SQL query using DELETE, INSERT, or UPDATE is not allowed for ODBC import'
457
456
  },
458
457
  {
459
- "e": 717,
460
- "d": "There is not enough XML/XSL information to proceed with the import or export"
458
+ e: 717,
459
+ d: 'There is not enough XML/XSL information to proceed with the import or export'
461
460
  },
462
461
  {
463
- "e": 718,
464
- "d": "Error in parsing XML file (from Xerces)"
462
+ e: 718,
463
+ d: 'Error in parsing XML file (from Xerces)'
465
464
  },
466
465
  {
467
- "e": 719,
468
- "d": "Error in transforming XML using XSL (from Xalan)"
466
+ e: 719,
467
+ d: 'Error in transforming XML using XSL (from Xalan)'
469
468
  },
470
469
  {
471
- "e": 720,
472
- "d": "Error when exporting; intended format does not support repeating fields"
470
+ e: 720,
471
+ d: 'Error when exporting; intended format does not support repeating fields'
473
472
  },
474
473
  {
475
- "e": 721,
476
- "d": "Unknown error occurred in the parser or the transformer"
474
+ e: 721,
475
+ d: 'Unknown error occurred in the parser or the transformer'
477
476
  },
478
477
  {
479
- "e": 722,
480
- "d": "Cannot import data into a file that has no fields"
478
+ e: 722,
479
+ d: 'Cannot import data into a file that has no fields'
481
480
  },
482
481
  {
483
- "e": 723,
484
- "d": "You do not have permission to add records to or modify records in the target table"
482
+ e: 723,
483
+ d: 'You do not have permission to add records to or modify records in the target table'
485
484
  },
486
485
  {
487
- "e": 724,
488
- "d": "You do not have permission to add records to the target table"
486
+ e: 724,
487
+ d: 'You do not have permission to add records to the target table'
489
488
  },
490
489
  {
491
- "e": 725,
492
- "d": "You do not have permission to modify records in the target table"
490
+ e: 725,
491
+ d: 'You do not have permission to modify records in the target table'
493
492
  },
494
493
  {
495
- "e": 726,
496
- "d": "Source file has more records than the target table; not all records were imported"
494
+ e: 726,
495
+ d: 'Source file has more records than the target table; not all records were imported'
497
496
  },
498
497
  {
499
- "e": 727,
500
- "d": "Target table has more records than the source file; not all records were updated"
498
+ e: 727,
499
+ d: 'Target table has more records than the source file; not all records were updated'
501
500
  },
502
501
  {
503
- "e": 729,
504
- "d": "Errors occurred during import; records could not be imported"
502
+ e: 729,
503
+ d: 'Errors occurred during import; records could not be imported'
505
504
  },
506
505
  {
507
- "e": 730,
508
- "d": "Unsupported Excel version; convert file to the current Excel format and try again"
506
+ e: 730,
507
+ d: 'Unsupported Excel version; convert file to the current Excel format and try again'
509
508
  },
510
509
  {
511
- "e": 731,
512
- "d": "File you are importing from contains no data"
510
+ e: 731,
511
+ d: 'File you are importing from contains no data'
513
512
  },
514
513
  {
515
- "e": 732,
516
- "d": "This file cannot be inserted because it contains other files"
514
+ e: 732,
515
+ d: 'This file cannot be inserted because it contains other files'
517
516
  },
518
517
  {
519
- "e": 733,
520
- "d": "A table cannot be imported into itself"
518
+ e: 733,
519
+ d: 'A table cannot be imported into itself'
521
520
  },
522
521
  {
523
- "e": 734,
524
- "d": "This file type cannot be displayed as a picture"
522
+ e: 734,
523
+ d: 'This file type cannot be displayed as a picture'
525
524
  },
526
525
  {
527
- "e": 735,
528
- "d": "This file type cannot be displayed as a picture; it will be inserted and displayed as a file"
526
+ e: 735,
527
+ d: 'This file type cannot be displayed as a picture; it will be inserted and displayed as a file'
529
528
  },
530
529
  {
531
- "e": 736,
532
- "d": "Too much data to export to this format; data will be truncated"
530
+ e: 736,
531
+ d: 'Too much data to export to this format; data will be truncated'
533
532
  },
534
533
  {
535
- "e": 738,
536
- "d": "The theme you are importing already exists"
534
+ e: 738,
535
+ d: 'The theme you are importing already exists'
537
536
  },
538
537
  {
539
- "e": 800,
540
- "d": "Unable to create file on disk"
538
+ e: 800,
539
+ d: 'Unable to create file on disk'
541
540
  },
542
541
  {
543
- "e": 801,
544
- "d": "Unable to create temporary file on System disk"
542
+ e: 801,
543
+ d: 'Unable to create temporary file on System disk'
545
544
  },
546
545
  {
547
- "e": 802,
548
- "d": "Unable to open file"
546
+ e: 802,
547
+ d: 'Unable to open file'
549
548
  },
550
549
  {
551
- "e": 803,
552
- "d": "File is single-user, or host cannot be found"
550
+ e: 803,
551
+ d: 'File is single-user, or host cannot be found'
553
552
  },
554
553
  {
555
- "e": 804,
556
- "d": "File cannot be opened as read-only in its current state"
554
+ e: 804,
555
+ d: 'File cannot be opened as read-only in its current state'
557
556
  },
558
557
  {
559
- "e": 805,
560
- "d": "File is damaged; use Recover command"
558
+ e: 805,
559
+ d: 'File is damaged; use Recover command'
561
560
  },
562
561
  {
563
- "e": 806,
564
- "d": "File cannot be opened with this version of a FileMaker client"
562
+ e: 806,
563
+ d: 'File cannot be opened with this version of a FileMaker client'
565
564
  },
566
565
  {
567
- "e": 807,
568
- "d": "File is not a FileMaker Pro Advanced file or is severely damaged"
566
+ e: 807,
567
+ d: 'File is not a FileMaker Pro Advanced file or is severely damaged'
569
568
  },
570
569
  {
571
- "e": 808,
572
- "d": "Cannot open file because access privileges are damaged"
570
+ e: 808,
571
+ d: 'Cannot open file because access privileges are damaged'
573
572
  },
574
573
  {
575
- "e": 809,
576
- "d": "Disk/volume is full"
574
+ e: 809,
575
+ d: 'Disk/volume is full'
577
576
  },
578
577
  {
579
- "e": 810,
580
- "d": "Disk/volume is locked"
578
+ e: 810,
579
+ d: 'Disk/volume is locked'
581
580
  },
582
581
  {
583
- "e": 811,
584
- "d": "Temporary file cannot be opened as FileMaker Pro Advanced file"
582
+ e: 811,
583
+ d: 'Temporary file cannot be opened as FileMaker Pro Advanced file'
585
584
  },
586
585
  {
587
- "e": 812,
588
- "d": "Exceeded host’s capacity"
586
+ e: 812,
587
+ d: 'Exceeded host’s capacity'
589
588
  },
590
589
  {
591
- "e": 813,
592
- "d": "Record synchronization error on network"
590
+ e: 813,
591
+ d: 'Record synchronization error on network'
593
592
  },
594
593
  {
595
- "e": 814,
596
- "d": "File(s) cannot be opened because maximum number is open"
594
+ e: 814,
595
+ d: 'File(s) cannot be opened because maximum number is open'
597
596
  },
598
597
  {
599
- "e": 815,
600
- "d": "Couldn’t open lookup file"
598
+ e: 815,
599
+ d: 'Couldn’t open lookup file'
601
600
  },
602
601
  {
603
- "e": 816,
604
- "d": "Unable to convert file"
602
+ e: 816,
603
+ d: 'Unable to convert file'
605
604
  },
606
605
  {
607
- "e": 817,
608
- "d": "Unable to open file because it does not belong to this solution"
606
+ e: 817,
607
+ d: 'Unable to open file because it does not belong to this solution'
609
608
  },
610
609
  {
611
- "e": 819,
612
- "d": "Cannot save a local copy of a remote file"
610
+ e: 819,
611
+ d: 'Cannot save a local copy of a remote file'
613
612
  },
614
613
  {
615
- "e": 820,
616
- "d": "File is being closed"
614
+ e: 820,
615
+ d: 'File is being closed'
617
616
  },
618
617
  {
619
- "e": 821,
620
- "d": "Host forced a disconnect"
618
+ e: 821,
619
+ d: 'Host forced a disconnect'
621
620
  },
622
621
  {
623
- "e": 822,
624
- "d": "FileMaker Pro Advanced files not found; reinstall missing files"
622
+ e: 822,
623
+ d: 'FileMaker Pro Advanced files not found; reinstall missing files'
625
624
  },
626
625
  {
627
- "e": 823,
628
- "d": "Cannot set file to single-user; guests are connected"
626
+ e: 823,
627
+ d: 'Cannot set file to single-user; guests are connected'
629
628
  },
630
629
  {
631
- "e": 824,
632
- "d": "File is damaged or not a FileMaker Pro Advanced file"
630
+ e: 824,
631
+ d: 'File is damaged or not a FileMaker Pro Advanced file'
633
632
  },
634
633
  {
635
- "e": 825,
636
- "d": "File is not authorized to reference the protected file"
634
+ e: 825,
635
+ d: 'File is not authorized to reference the protected file'
637
636
  },
638
637
  {
639
- "e": 826,
640
- "d": "File path specified is not a valid file path"
638
+ e: 826,
639
+ d: 'File path specified is not a valid file path'
641
640
  },
642
641
  {
643
- "e": 827,
644
- "d": "File was not created because the source contained no data or is a reference"
642
+ e: 827,
643
+ d: 'File was not created because the source contained no data or is a reference'
645
644
  },
646
645
  {
647
- "e": 850,
648
- "d": "Path is not valid for the operating system"
646
+ e: 850,
647
+ d: 'Path is not valid for the operating system'
649
648
  },
650
649
  {
651
- "e": 851,
652
- "d": "Cannot delete an external file from disk"
650
+ e: 851,
651
+ d: 'Cannot delete an external file from disk'
653
652
  },
654
653
  {
655
- "e": 852,
656
- "d": "Cannot write a file to the external storage"
654
+ e: 852,
655
+ d: 'Cannot write a file to the external storage'
657
656
  },
658
657
  {
659
- "e": 853,
660
- "d": "One or more containers failed to transfer"
658
+ e: 853,
659
+ d: 'One or more containers failed to transfer'
661
660
  },
662
661
  {
663
- "e": 900,
664
- "d": "General spelling engine error"
662
+ e: 900,
663
+ d: 'General spelling engine error'
665
664
  },
666
665
  {
667
- "e": 901,
668
- "d": "Main spelling dictionary not installed"
666
+ e: 901,
667
+ d: 'Main spelling dictionary not installed'
669
668
  },
670
669
  {
671
- "e": 903,
672
- "d": "Command cannot be used in a shared file"
670
+ e: 903,
671
+ d: 'Command cannot be used in a shared file'
673
672
  },
674
673
  {
675
- "e": 905,
676
- "d": "Command requires a field to be active"
674
+ e: 905,
675
+ d: 'Command requires a field to be active'
677
676
  },
678
677
  {
679
- "e": 906,
680
- "d": "Current file is not shared; command can be used only if the file is shared"
678
+ e: 906,
679
+ d: 'Current file is not shared; command can be used only if the file is shared'
681
680
  },
682
681
  {
683
- "e": 920,
684
- "d": "Cannot initialize the spelling engine"
682
+ e: 920,
683
+ d: 'Cannot initialize the spelling engine'
685
684
  },
686
685
  {
687
- "e": 921,
688
- "d": "User dictionary cannot be loaded for editing"
686
+ e: 921,
687
+ d: 'User dictionary cannot be loaded for editing'
689
688
  },
690
689
  {
691
- "e": 922,
692
- "d": "User dictionary cannot be found"
690
+ e: 922,
691
+ d: 'User dictionary cannot be found'
693
692
  },
694
693
  {
695
- "e": 923,
696
- "d": "User dictionary is read-only"
694
+ e: 923,
695
+ d: 'User dictionary is read-only'
697
696
  },
698
697
  {
699
- "e": 951,
700
- "d": "An unexpected error occurred (*)"
698
+ e: 951,
699
+ d: 'An unexpected error occurred (*)'
701
700
  },
702
701
  {
703
- "e": 952,
704
- "d": "Invalid FileMaker Data API token (*)"
702
+ e: 952,
703
+ d: 'Invalid FileMaker Data API token (*)'
705
704
  },
706
705
  {
707
- "e": 953,
708
- "d": "Exceeded limit on data the FileMaker Data API can transmit (*)"
706
+ e: 953,
707
+ d: 'Exceeded limit on data the FileMaker Data API can transmit (*)'
709
708
  },
710
709
  {
711
- "e": 954,
712
- "d": "Unsupported XML grammar (*)"
710
+ e: 954,
711
+ d: 'Unsupported XML grammar (*)'
713
712
  },
714
713
  {
715
- "e": 955,
716
- "d": "No database name (*)"
714
+ e: 955,
715
+ d: 'No database name (*)'
717
716
  },
718
717
  {
719
- "e": 956,
720
- "d": "Maximum number of database sessions exceeded (*)"
718
+ e: 956,
719
+ d: 'Maximum number of database sessions exceeded (*)'
721
720
  },
722
721
  {
723
- "e": 957,
724
- "d": "Conflicting commands (*)"
722
+ e: 957,
723
+ d: 'Conflicting commands (*)'
725
724
  },
726
725
  {
727
- "e": 958,
728
- "d": "Parameter missing (*)"
726
+ e: 958,
727
+ d: 'Parameter missing (*)'
729
728
  },
730
729
  {
731
- "e": 959,
732
- "d": "Custom Web Publishing technology is disabled"
730
+ e: 959,
731
+ d: 'Custom Web Publishing technology is disabled'
733
732
  },
734
733
  {
735
- "e": 960,
736
- "d": "Parameter is invalid"
734
+ e: 960,
735
+ d: 'Parameter is invalid'
737
736
  },
738
737
  {
739
- "e": 1200,
740
- "d": "Generic calculation error"
738
+ e: 1200,
739
+ d: 'Generic calculation error'
741
740
  },
742
741
  {
743
- "e": 1201,
744
- "d": "Too few parameters in the function"
742
+ e: 1201,
743
+ d: 'Too few parameters in the function'
745
744
  },
746
745
  {
747
- "e": 1202,
748
- "d": "Too many parameters in the function"
746
+ e: 1202,
747
+ d: 'Too many parameters in the function'
749
748
  },
750
749
  {
751
- "e": 1203,
752
- "d": "Unexpected end of calculation"
750
+ e: 1203,
751
+ d: 'Unexpected end of calculation'
753
752
  },
754
753
  {
755
- "e": 1204,
756
- "d": "Number, text constant, field name, or \"(\" expected"
754
+ e: 1204,
755
+ d: 'Number, text constant, field name, or "(" expected'
757
756
  },
758
757
  {
759
- "e": 1205,
760
- "d": "Comment is not terminated with \"*/\""
758
+ e: 1205,
759
+ d: 'Comment is not terminated with "*/"'
761
760
  },
762
761
  {
763
- "e": 1206,
764
- "d": "Text constant must end with a quotation mark"
762
+ e: 1206,
763
+ d: 'Text constant must end with a quotation mark'
765
764
  },
766
765
  {
767
- "e": 1207,
768
- "d": "Unbalanced parenthesis"
766
+ e: 1207,
767
+ d: 'Unbalanced parenthesis'
769
768
  },
770
769
  {
771
- "e": 1208,
772
- "d": "Operator missing, function not found, or \"(\" not expected"
770
+ e: 1208,
771
+ d: 'Operator missing, function not found, or "(" not expected'
773
772
  },
774
773
  {
775
- "e": 1209,
776
- "d": "Name (such as field name or layout name) is missing"
774
+ e: 1209,
775
+ d: 'Name (such as field name or layout name) is missing'
777
776
  },
778
777
  {
779
- "e": 1210,
780
- "d": "Plug-in function or script step has already been registered"
778
+ e: 1210,
779
+ d: 'Plug-in function or script step has already been registered'
781
780
  },
782
781
  {
783
- "e": 1211,
784
- "d": "List usage is not allowed in this function"
782
+ e: 1211,
783
+ d: 'List usage is not allowed in this function'
785
784
  },
786
785
  {
787
- "e": 1212,
788
- "d": "An operator (for example, +, -, *) is expected here"
786
+ e: 1212,
787
+ d: 'An operator (for example, +, -, *) is expected here'
789
788
  },
790
789
  {
791
- "e": 1213,
792
- "d": "This variable has already been defined in the Let function"
790
+ e: 1213,
791
+ d: 'This variable has already been defined in the Let function'
793
792
  },
794
793
  {
795
- "e": 1214,
796
- "d": "Average, Count, Extend, GetRepetition, Max, Min, NPV, StDev, Sum, and GetSummary: expression found where a field alone is needed"
794
+ e: 1214,
795
+ d: 'Average, Count, Extend, GetRepetition, Max, Min, NPV, StDev, Sum, and GetSummary: expression found where a field alone is needed'
797
796
  },
798
797
  {
799
- "e": 1215,
800
- "d": "This parameter is an invalid Get function parameter"
798
+ e: 1215,
799
+ d: 'This parameter is an invalid Get function parameter'
801
800
  },
802
801
  {
803
- "e": 1216,
804
- "d": "Only summary fields are allowed as first argument in GetSummary"
802
+ e: 1216,
803
+ d: 'Only summary fields are allowed as first argument in GetSummary'
805
804
  },
806
805
  {
807
- "e": 1217,
808
- "d": "Break field is invalid"
806
+ e: 1217,
807
+ d: 'Break field is invalid'
809
808
  },
810
809
  {
811
- "e": 1218,
812
- "d": "Cannot evaluate the number"
810
+ e: 1218,
811
+ d: 'Cannot evaluate the number'
813
812
  },
814
813
  {
815
- "e": 1219,
816
- "d": "A field cannot be used in its own formula"
814
+ e: 1219,
815
+ d: 'A field cannot be used in its own formula'
817
816
  },
818
817
  {
819
- "e": 1220,
820
- "d": "Field type must be normal or calculated"
818
+ e: 1220,
819
+ d: 'Field type must be normal or calculated'
821
820
  },
822
821
  {
823
- "e": 1221,
824
- "d": "Data type must be number, date, time, or timestamp"
822
+ e: 1221,
823
+ d: 'Data type must be number, date, time, or timestamp'
825
824
  },
826
825
  {
827
- "e": 1222,
828
- "d": "Calculation cannot be stored"
826
+ e: 1222,
827
+ d: 'Calculation cannot be stored'
829
828
  },
830
829
  {
831
- "e": 1223,
832
- "d": "Function referred to is not yet implemented"
830
+ e: 1223,
831
+ d: 'Function referred to is not yet implemented'
833
832
  },
834
833
  {
835
- "e": 1224,
836
- "d": "Function referred to does not exist"
834
+ e: 1224,
835
+ d: 'Function referred to does not exist'
837
836
  },
838
837
  {
839
- "e": 1225,
840
- "d": "Function referred to is not supported in this context"
838
+ e: 1225,
839
+ d: 'Function referred to is not supported in this context'
841
840
  },
842
841
  {
843
- "e": 1300,
844
- "d": "The specified name can't be used"
842
+ e: 1300,
843
+ d: "The specified name can't be used"
845
844
  },
846
845
  {
847
- "e": 1301,
848
- "d": "A parameter of the imported or pasted function has the same name as a function in the file"
846
+ e: 1301,
847
+ d: 'A parameter of the imported or pasted function has the same name as a function in the file'
849
848
  },
850
849
  {
851
- "e": 1400,
852
- "d": "ODBC client driver initialization failed; make sure ODBC client drivers are properly installed"
850
+ e: 1400,
851
+ d: 'ODBC client driver initialization failed; make sure ODBC client drivers are properly installed'
853
852
  },
854
853
  {
855
- "e": 1401,
856
- "d": "Failed to allocate environment (ODBC)"
854
+ e: 1401,
855
+ d: 'Failed to allocate environment (ODBC)'
857
856
  },
858
857
  {
859
- "e": 1402,
860
- "d": "Failed to free environment (ODBC)"
858
+ e: 1402,
859
+ d: 'Failed to free environment (ODBC)'
861
860
  },
862
861
  {
863
- "e": 1403,
864
- "d": "Failed to disconnect (ODBC)"
862
+ e: 1403,
863
+ d: 'Failed to disconnect (ODBC)'
865
864
  },
866
865
  {
867
- "e": 1404,
868
- "d": "Failed to allocate connection (ODBC)"
866
+ e: 1404,
867
+ d: 'Failed to allocate connection (ODBC)'
869
868
  },
870
869
  {
871
- "e": 1405,
872
- "d": "Failed to free connection (ODBC)"
870
+ e: 1405,
871
+ d: 'Failed to free connection (ODBC)'
873
872
  },
874
873
  {
875
- "e": 1406,
876
- "d": "Failed check for SQL API (ODBC)"
874
+ e: 1406,
875
+ d: 'Failed check for SQL API (ODBC)'
877
876
  },
878
877
  {
879
- "e": 1407,
880
- "d": "Failed to allocate statement (ODBC)"
878
+ e: 1407,
879
+ d: 'Failed to allocate statement (ODBC)'
881
880
  },
882
881
  {
883
- "e": 1408,
884
- "d": "Extended error (ODBC)"
882
+ e: 1408,
883
+ d: 'Extended error (ODBC)'
885
884
  },
886
885
  {
887
- "e": 1409,
888
- "d": "Error (ODBC)"
886
+ e: 1409,
887
+ d: 'Error (ODBC)'
889
888
  },
890
889
  {
891
- "e": 1413,
892
- "d": "Failed communication link (ODBC)"
890
+ e: 1413,
891
+ d: 'Failed communication link (ODBC)'
893
892
  },
894
893
  {
895
- "e": 1414,
896
- "d": "SQL statement is too long"
894
+ e: 1414,
895
+ d: 'SQL statement is too long'
897
896
  },
898
897
  {
899
- "e": 1450,
900
- "d": "Action requires PHP privilege extension (*)"
898
+ e: 1450,
899
+ d: 'Action requires PHP privilege extension (*)'
901
900
  },
902
901
  {
903
- "e": 1451,
904
- "d": "Action requires that current file be remote"
902
+ e: 1451,
903
+ d: 'Action requires that current file be remote'
905
904
  },
906
905
  {
907
- "e": 1501,
908
- "d": "SMTP authentication failed"
906
+ e: 1501,
907
+ d: 'SMTP authentication failed'
909
908
  },
910
909
  {
911
- "e": 1502,
912
- "d": "Connection refused by SMTP server"
910
+ e: 1502,
911
+ d: 'Connection refused by SMTP server'
913
912
  },
914
913
  {
915
- "e": 1503,
916
- "d": "Error with SSL"
914
+ e: 1503,
915
+ d: 'Error with SSL'
917
916
  },
918
917
  {
919
- "e": 1504,
920
- "d": "SMTP server requires the connection to be encrypted"
918
+ e: 1504,
919
+ d: 'SMTP server requires the connection to be encrypted'
921
920
  },
922
921
  {
923
- "e": 1505,
924
- "d": "Specified authentication is not supported by SMTP server"
922
+ e: 1505,
923
+ d: 'Specified authentication is not supported by SMTP server'
925
924
  },
926
925
  {
927
- "e": 1506,
928
- "d": "Email message(s) could not be sent successfully"
926
+ e: 1506,
927
+ d: 'Email message(s) could not be sent successfully'
929
928
  },
930
929
  {
931
- "e": 1507,
932
- "d": "Unable to log in to the SMTP server"
930
+ e: 1507,
931
+ d: 'Unable to log in to the SMTP server'
933
932
  },
934
933
  {
935
- "e": 1550,
936
- "d": "Cannot load the plug-in, or the plug-in is not a valid plug-in"
934
+ e: 1550,
935
+ d: 'Cannot load the plug-in, or the plug-in is not a valid plug-in'
937
936
  },
938
937
  {
939
- "e": 1551,
940
- "d": "Cannot install the plug-in; cannot delete an existing plug-in or write to the folder or disk"
938
+ e: 1551,
939
+ d: 'Cannot install the plug-in; cannot delete an existing plug-in or write to the folder or disk'
941
940
  },
942
941
  {
943
- "e": 1552,
944
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
942
+ e: 1552,
943
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
945
944
  },
946
945
  {
947
- "e": 1553,
948
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
946
+ e: 1553,
947
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
949
948
  },
950
949
  {
951
- "e": 1554,
952
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
950
+ e: 1554,
951
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
953
952
  },
954
953
  {
955
- "e": 1555,
956
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
954
+ e: 1555,
955
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
957
956
  },
958
957
  {
959
- "e": 1556,
960
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
958
+ e: 1556,
959
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
961
960
  },
962
961
  {
963
- "e": 1557,
964
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
962
+ e: 1557,
963
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
965
964
  },
966
965
  {
967
- "e": 1558,
968
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
966
+ e: 1558,
967
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
969
968
  },
970
969
  {
971
- "e": 1559,
972
- "d": "Returned by plug-ins; see the documentation that came with the plug-in"
970
+ e: 1559,
971
+ d: 'Returned by plug-ins; see the documentation that came with the plug-in'
973
972
  },
974
973
  {
975
- "e": 1626,
976
- "d": "Protocol is not supported"
974
+ e: 1626,
975
+ d: 'Protocol is not supported'
977
976
  },
978
977
  {
979
- "e": 1627,
980
- "d": "Authentication failed"
978
+ e: 1627,
979
+ d: 'Authentication failed'
981
980
  },
982
981
  {
983
- "e": 1628,
984
- "d": "There was an error with SSL"
982
+ e: 1628,
983
+ d: 'There was an error with SSL'
985
984
  },
986
985
  {
987
- "e": 1629,
988
- "d": "Connection timed out; the timeout value is 60 seconds"
986
+ e: 1629,
987
+ d: 'Connection timed out; the timeout value is 60 seconds'
989
988
  },
990
989
  {
991
- "e": 1630,
992
- "d": "URL format is incorrect"
990
+ e: 1630,
991
+ d: 'URL format is incorrect'
993
992
  },
994
993
  {
995
- "e": 1631,
996
- "d": "Connection failed"
994
+ e: 1631,
995
+ d: 'Connection failed'
997
996
  },
998
997
  {
999
- "e": 1632,
1000
- "d": "The certificate has expired"
998
+ e: 1632,
999
+ d: 'The certificate has expired'
1001
1000
  },
1002
1001
  {
1003
- "e": 1633,
1004
- "d": "The certificate is self-signed"
1002
+ e: 1633,
1003
+ d: 'The certificate is self-signed'
1005
1004
  },
1006
1005
  {
1007
- "e": 1634,
1008
- "d": "A certificate verification error occurred"
1006
+ e: 1634,
1007
+ d: 'A certificate verification error occurred'
1009
1008
  },
1010
1009
  {
1011
- "e": 1635,
1012
- "d": "Connection is unencrypted"
1010
+ e: 1635,
1011
+ d: 'Connection is unencrypted'
1013
1012
  }
1014
1013
  ];
1015
1014
  export class FMError extends Error {
@@ -1018,13 +1017,13 @@ export class FMError extends Error {
1018
1017
  code;
1019
1018
  messages;
1020
1019
  constructor(code, httpStatus, res, trace) {
1021
- if (typeof code === "string")
1020
+ if (typeof code === 'string')
1022
1021
  code = parseInt(code);
1023
- super(errs.find(err => err.e === code)?.d || "Unknown error");
1022
+ super(errs.find(err => err.e === code)?.d ?? 'Unknown error');
1024
1023
  this.httpStatus = httpStatus;
1025
1024
  this.res = res;
1026
1025
  this.messages = res.messages;
1027
- this.code = typeof code === "string" ? parseInt(code) : code;
1026
+ this.code = typeof code === 'string' ? parseInt(code) : code;
1028
1027
  Error.captureStackTrace(this, FMError);
1029
1028
  if (trace)
1030
1029
  this.stack = trace.stack;