Add test for ES6 generated exception constructor
Client: js

Add unit tests verifying that ES6-generated exception classes pass the
exception name string to super() instead of the args object. This is a
regression test for the bug fixed in PR #3372, where super(args) caused
TBinaryProtocol.writeStringOrBinary to throw.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2 files changed