Add content for AssertionErrors (#3090)
* Update Node.js roadmap Assertion Errors Updated Assertion Errors block with some useful links and description * Update content/roadmaps/107-nodejs/content/103-nodejs-error-handling/103-error-types/103-assertion-errors.md Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>pull/3077/head^2
parent
3f31e3889b
commit
4a7cdd6da2
1 changed files with 7 additions and 1 deletions
@ -1 +1,7 @@ |
|||||||
# Assertion errors |
# Assertion Errors |
||||||
|
|
||||||
|
An `AssertionError` in Node.js is an error that is thrown when the `assert` module determines that a given expression is not truthy. The `assert` module is a built-in Node.js module that provides a simple set of assertion tests that can be used to test the behavior of your code. |
||||||
|
|
||||||
|
<ResourceGroupTitle>Free Content</ResourceGroupTitle> |
||||||
|
<BadgeLink colorScheme='blue' badgeText='Official Docs' href='https://nodejs.org/api/assert.html#new-assertassertionerroroptions'>Node.js Assert</BadgeLink> |
||||||
|
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://blog.airbrake.io/blog/nodejs-error-handling/assertionerror-nodejs'>Node.js Error Handling - AssertionError</BadgeLink> |
||||||
|
Loading…
Reference in new issue