We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When checking the type of the error, one way to do it is through the attribute name.
We can also export the constructor so people can check if an error is an instanceof constructors.
instanceof
It's pretty easy to do, and is just a few lines of code.
The text was updated successfully, but these errors were encountered:
Export Rethinkdb Errors -- Related to #1926
9198850
Up in review 1177 assigned to @AtnNn Branch michel_1926_js_errors
> r.error("foo").run(c, function(e, result) { console.log(e instanceof r.Error.RqlRuntimeError) }) undefined > true
Sorry, something went wrong.
8ff6dbe
Review complete.
Merged in next as 9198850 Cherry picked in v1.11.x as 8ff6dbe
next
v1.11.x
Gracias!
neumino
No branches or pull requests
When checking the type of the error, one way to do it is through the attribute name.
We can also export the constructor so people can check if an error is an
instanceof
constructors.It's pretty easy to do, and is just a few lines of code.
The text was updated successfully, but these errors were encountered: