citronneur / node-rdpjs

Remote Desktop Protocol for Node.js
GNU General Public License v3.0
895 stars 154 forks source link

Nicer error messaging #6

Open untoldone opened 9 years ago

untoldone commented 9 years ago

Not a bug/ more a feature request.

When hitting known error conditions such as 'NODE_RDP_PROTOCOL_X224_NEG_FAILURE' at https://github.com/citronneur/node-rdpjs/blob/master/lib/protocol/x224.js#L221 -- it would be helpful to also include the failure code (such as those at https://msdn.microsoft.com/en-us/library/cc240507.aspx).

It would help usability/ debugging.

citronneur commented 9 years ago

ok

ediweissmann commented 8 years ago

+1