mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-27 19:20:12 +02:00
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>
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user