Added a SyntaxError case to the default domain error handler.