For example, if in .NET I have this:
throw new FormatException("invalid input");
then in Node, can I know that the Error is caused by "FormatException"?
It seems this feature is missing so that the only way is to check the "message" property of the Error object?
For example, if in .NET I have this:
then in Node, can I know that the Error is caused by "FormatException"?
It seems this feature is missing so that the only way is to check the "message" property of the Error object?