SAP / node-rfc

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

TypeScript types for exceptions #325

Open ides15 opened 3 months ago

ides15 commented 3 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