junlarsen / league-connect

:electric_plug: Node.js HTTP/1.1, HTTP/2.0 and WebSocket interface to the League of Legends Client APIs
https://www.npmjs.com/package/league-connect
MIT License
156 stars 23 forks source link

feat: added new error classe ClientElevatedPermsError #119

Closed Muntari29 closed 3 months ago

Muntari29 commented 3 months ago

Changes Summary: Added export functionality to the ClientElevatedPermsError error class.

The absence of export capability for ClientElevatedPermsError was troublesome. Currently, in my project, I directly inspect the error string, so any modifications in the library's error string could lead to unintended errors.

Consequently, having to resort to additional scripts to verify the administrative status of the process in specific scenarios is highly inconvenient.

I'm eager for a swift resolution of this issue to streamline and enhance error handling efficiency.

(Is it intentional that the error is not exported?)

Muntari29 commented 3 months ago

Closed due to unintentional commit