json-type-validation icon indicating copy to clipboard operation
json-type-validation copied to clipboard

Throw an instance of Error, not arbitary object

Open yuyaryshev opened this issue 2 years ago • 0 comments

Throw an instance of Error, not arbitary object, because stack information is only preserved if Error instance or a derived class is used.

yuyaryshev avatar Jul 14 '23 07:07 yuyaryshev