Skip to content

Commit

Permalink
Merge pull request #16 from KristofferStrube/fix/map-syntax-error
Browse files Browse the repository at this point in the history
Fixed that SyntaxError was mapped wrongly.
  • Loading branch information
KristofferStrube authored Jun 23, 2024
2 parents d161d57 + 0460b6d commit 2e2d7a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static class ErrorMappers
{ "EvalError", (jSError) => new EvalErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "RangeError", (jSError) => new RangeErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "ReferenceError", (jSError) => new ReferenceErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "SyntaxError", (jSError) => new TypeErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "SyntaxError", (jSError) => new SyntaxErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "TypeError", (jSError) => new TypeErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
{ "URIError", (jSError) => new URIErrorException(jSError.Message, jSError.Stack, jSError.InnerException) },
});
Expand Down

0 comments on commit 2e2d7a4

Please sign in to comment.