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
We are doing a workshop on errors next week so this will be covered then.
if (err) throw err;
If you throw an error then it needs to be caught in a catch so you can then do something about it (log it, send the user an error message)
catch
The text was updated successfully, but these errors were encountered:
Can you specify lines of code?
Sorry, something went wrong.
changes throw error to if error
d6e88b7
Relates #59
missKatiaPunter
No branches or pull requests
We are doing a workshop on errors next week so this will be covered then.
If you throw an error then it needs to be caught in a
catch
so you can then do something about it (log it, send the user an error message)The text was updated successfully, but these errors were encountered: