Skip to content

Commit 34471c7

Browse files
addaleaxapapirovski
authored andcommitted
src: order C++ error list alphabetically
PR-URL: #20707 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Tiancheng "Timothy" Gu <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Joyee Cheung <[email protected]> Reviewed-By: Daniel Bevenius <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
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)