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