Skip to content

Commit 34471c7

Browse files
addaleaxapapirovski
authored andcommitted
src: order C++ error list alphabetically
PR-URL: #20707 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent de4e0d7 commit 34471c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/node_errors.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ namespace node {
2222

2323
#define ERRORS_WITH_CODE(V) \
2424
V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \
25+
V(ERR_BUFFER_TOO_LARGE, Error) \
2526
V(ERR_INDEX_OUT_OF_RANGE, RangeError) \
2627
V(ERR_INVALID_ARG_VALUE, TypeError) \
2728
V(ERR_INVALID_ARG_TYPE, TypeError) \
@@ -31,7 +32,6 @@ namespace node {
3132
V(ERR_SCRIPT_EXECUTION_INTERRUPTED, Error) \
3233
V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \
3334
V(ERR_STRING_TOO_LONG, Error) \
34-
V(ERR_BUFFER_TOO_LARGE, Error)
3535

3636
#define V(code, type) \
3737
inline v8::Local<v8::Value> code(v8::Isolate* isolate, \

0 commit comments

Comments
 (0)