SAP / node-rfc

Asynchronous, non-blocking SAP NW RFC SDK bindings for Node.js
Apache License 2.0
252 stars 74 forks source link

TypeScript types for exceptions #325

Open ides15 opened 7 months ago

ides15 commented 7 months ago

Is your feature request related to a problem? Please describe. I'd like to have better type safety on exceptions thrown by node-rfc. At the moment, I have to parse these exceptions by hand.

Describe the solution you'd like Export the possible types for exceptions from node-rfc (This commit looks like what I want, don't think it has been published in a release yet).

Describe alternatives you've considered Building these types myself.

Additional context n/a