Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
7203924
util: implement %o and %O as formatting specifiers
gla5001 Jul 31, 2017
96147c9
test: read proper inspector message size
bzoz Aug 2, 2017
d89f9f8
inspector: allow require in Runtime.evaluate
Sep 28, 2016
f73f659
test: mitigate RegEx exceeding 80 chars
thelostone-mc Aug 3, 2017
71f2e76
test: use ciphers supported by shared OpenSSL
kapouer Aug 1, 2017
5e2cce5
n-api: optimize number API performance
jasongin Jul 19, 2017
2ee3320
test: improve multiple timers tests
jasnell Aug 4, 2017
ef8ac7b
stream: support readable/writableHWM for Duplex
guymguym Aug 4, 2017
935d34b
test: fix test-readline-interface
Azard Aug 7, 2017
574cc37
benchmark: remove unused parameters
nishijayaraj Aug 5, 2017
55aba6a
test: replace indexOf with includes
maasencioh Aug 4, 2017
30837b3
test: improve check in test-os
Trott Aug 7, 2017
06ba2da
test: fix conversion of microseconds in test
nickstanish Aug 9, 2017
a0e05e8
tools: fix tools/addon-verify.js
danbev Jul 3, 2017
e07dfff
doc: remove undef NDEBUG from addons.md
danbev Jul 3, 2017
4e15a6b
doc: fix order of AtExit callbacks in addons.md
danbev Jul 3, 2017
8433b1a
lib: use Timer.now() in readline module
Trott Aug 8, 2017
c94f346
net: use rest parameters instead of arguments
tniessen Jun 5, 2017
d3b0722
doc: add docs for AssertionError
Jul 16, 2017
5874272
test: set module loading error for aix
prakaashkpk Jul 27, 2017
2716b62
async_hooks: CHECK that resource is not empty
addaleax Aug 8, 2017
d604173
doc: clarify the position argument for fs.read
dcharbonnier Aug 3, 2017
9888bb1
doc: improve fs.read() doc text
Trott Aug 4, 2017
5d99d7d
test: add block scoping to test-readline-interface
Trott Aug 3, 2017
3f1bb0a
test: split out load-sensitive readline tests
Trott Aug 8, 2017
033773c
src: add overlooked handle to cleanup
addaleax Aug 10, 2017
0bc3124
test: properly order freeing resources in cctest
addaleax Aug 10, 2017
8ff2a5c
Revert "test: add DISABLED_ prefix to commented out test"
addaleax Aug 10, 2017
a781bb4
Revert "test: disable MultipleEnvironmentsPerIsolate"
addaleax Aug 10, 2017
c5ee34e
encoding: rudimentary TextDecoder support w/o ICU
TimothyGu Jul 30, 2017
977e228
test: make test-tls-connect checks more strict
Trott Aug 8, 2017
139b088
benchmark: Correct constructor for freelist
gareth-ellis Aug 4, 2017
2d806f4
deps: cherry-pick f19b889 from V8 upstream
alexkozy Aug 1, 2017
029567a
inspector: support extra contexts
Apr 24, 2017
7eb9f6f
test: make totalLen snake case
danbev Aug 11, 2017
b87fae9
src: remove duplicate loop
addaleax Aug 10, 2017
d7d22ea
src: add comments for cares library init refcount
addaleax Aug 10, 2017
9bbbf12
test: remove redundant `using` in cctest
XadillaX Aug 10, 2017
0eab77c
test: allow inspector to reopen with same port
gibfahn Jul 17, 2017
917ace2
n-api: add napi_get_node_version
addaleax Aug 8, 2017
ee2ae0f
doc: expanded description of buffer.slice
vishal7201 Aug 9, 2017
f83827d
src: use local isolate instead of args.GetIsolate
danbev Aug 11, 2017
82c63a5
test: add test-benchmark-arrays
Trott Aug 10, 2017
9237ef8
src: avoid creating local data variable
danbev Aug 10, 2017
1c00875
repl: include folder extensions in autocomplete
not-an-aardvark Aug 10, 2017
1168410
util: improve util.inspect performance
BridgeAR Jul 26, 2017
a6539ec
assert: optimize code path for deepEqual Maps
BridgeAR Jul 26, 2017
0de63e6
doc: fix docs style in intl.md
watilde Aug 9, 2017
20fb690
doc: fix docs style in util.md
watilde Aug 9, 2017
268a1ff
src: mention that node options are space-separated
Aug 9, 2017
b3c1c6f
benchmark: fix and extend assert benchmarks
BridgeAR Jun 28, 2017
4811fea
doc: add missing `changes:` metadata for streams
addaleax Aug 13, 2017
9e51802
doc: add missing `changes:` metadata for util
addaleax Aug 13, 2017
e0001dc
http: move utcDate to internal/http.js
jasnell Oct 17, 2016
e84c9d7
tls: add tlsSocket.disableRenegotiation()
jasnell Nov 4, 2016
fef2aa7
deps: add nghttp2 dependency
jasnell Jul 17, 2017
9623ee0
http2: introducing HTTP/2
jasnell Jul 17, 2017
3eb61b0
http2: add tests and benchmarks
jasnell Jul 17, 2017
a49146e
http2: remove redundant return in test
jasnell Jul 17, 2017
e8cc193
http2: fix documentation nits
jasnell Jul 17, 2017
be716d0
doc: include http2.md in all.md
jasnell Jul 17, 2017
9d752d5
test: fix flakiness in test-http2-client-upload
jasnell Jul 18, 2017
97f622b
test: fix flaky test-http2-client-unescaped-path on osx
jasnell Jul 18, 2017
cd0f4c6
http2: fix abort when client.destroy inside end event
jasnell Jul 19, 2017
2620769
http2: refinement and test for socketError
jasnell Jul 19, 2017
61696f1
http2: fix socketOnTimeout and a segfault
jasnell Jul 19, 2017
8f3bbd9
http2: add range support for respondWith{File|FD}
jasnell Jul 22, 2017
b778838
http2: doc and fixes to the Compatibility API
mcollina Jul 24, 2017
7824fa0
http2: make writeHead behave like HTTP/1.
mcollina Jul 24, 2017
26e1f8e
http2: address initial pr feedback
jasnell Jul 31, 2017
3e5b07a
http2: refactor trailers API
jasnell Jul 31, 2017
9a4be4a
http2: get trailers working with the compat api
jasnell Jul 31, 2017
174ab6f
http2: use static allocated arrays
jasnell Aug 1, 2017
33b03b2
http2: minor cleanup
jasnell Aug 1, 2017
b43caf9
http2: fix documentation errors
jasnell Aug 1, 2017
f46c50b
http2: add some doc detail for invalid header chars
jasnell Aug 1, 2017
efd929e
http2: fix compilation error after V8 update
jasnell Aug 3, 2017
6a30448
http2: fix linting after rebase
jasnell Aug 3, 2017
723d1af
http2: fix flakiness in timeout
jasnell Aug 3, 2017
47bf705
http2: rename some nghttp2 stream flags
kjin Aug 5, 2017
dbb9c37
test: add crypto check to http2 tests
danbev Aug 7, 2017
1e7ddb2
doc: explain browser support of http/2 without SSL
giltayar Aug 7, 2017
af85b6e
doc: fix http2 sample code for http2.md
kakts Aug 7, 2017
dd6444d
src,http2: DRY header/trailer handling code up
addaleax Aug 8, 2017
66788fc
test: increase http2 coverage
michaalbert Aug 8, 2017
92c37fe
http2: improve perf of passing headers to C++
addaleax Aug 9, 2017
59d1d56
src: remove unused http2_socket_buffer from env
addaleax Aug 10, 2017
8a0d101
http2: use per-environment buffers
addaleax Aug 10, 2017
c5740f9
http2: name padding buffer fields
addaleax Aug 10, 2017
e4854fc
test: use regular expressions in throw assertions
Jul 17, 2017
ac1b81a
lib: move deprecationWarned var
danbev Aug 11, 2017
6d9f94f
test: cover all HTTP methods that parser supports
Aug 11, 2017
230cb55
doc: fix header level typo
refack Aug 9, 2017
621c03a
doc: delint
refack Aug 9, 2017
1d40850
http2: fix [kInspect]() output for Http2Stream
evanlucas Aug 10, 2017
dd521d0
deps,tools: add missing nghttp2 license
addaleax Aug 13, 2017
56a0577
2017-08-15, Version 8.4.0 (Current)
addaleax Aug 13, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc: add docs for AssertionError
Fixes: #12274
PR-URL: #14261
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
  • Loading branch information
Mandeep Singh authored and addaleax committed Aug 10, 2017
commit d3b072276b0e11364bf0a25547ec9c1bc1e4e373
12 changes: 12 additions & 0 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,18 @@ loop tick.
System-level errors are generated as augmented `Error` instances, which are
detailed [here](#errors_system_errors).

## Class: AssertionError

A subclass of `Error` that indicates the failure of an assertion. Such errors
commonly indicate inequality of actual and expected value.

For example:

```js
assert.strictEqual(1, 2);
// AssertionError [ERR_ASSERTION]: 1 === 2
```

## Class: RangeError

A subclass of `Error` that indicates that a provided argument was not within the
Expand Down