Closed samchon closed 4 years ago
To send exact error instance being thrown, I'll adapt serialize-error.
serialize-error
If a thrown error instance has toJSON() method, then utilize it. Elsewhere, then the serialize-error would be used.
Adjusted
To send exact error instance being thrown, I'll adapt
serialize-error
.If a thrown error instance has toJSON() method, then utilize it. Elsewhere, then the
serialize-error
would be used.