finsemble-seed
finsemble-seed copied to clipboard
The fdc3.open function returns a 'error' string rather than an error
If I execute the following:
fdc3.open("NoAppId").catch(e => console.log("type of thrown object", typeof e));
The following is logged:
type of thrown object string
However, the API indicates that:
If opening errors, it returns an Error with a string from the OpenError enumeration.
Notably fd3-electron also has the same issue.