Skip to content

Commit 01aa058

Browse files
addaleaxMylesBorins
authored andcommittedMay 22, 2018
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 5eb0765 commit 01aa058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/node_errors.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ namespace node {
1818

1919
#define ERRORS_WITH_CODE(V) \
2020
V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \
21+
V(ERR_BUFFER_TOO_LARGE, Error) \
2122
V(ERR_INDEX_OUT_OF_RANGE, RangeError) \
2223
V(ERR_INVALID_ARG_VALUE, TypeError) \
2324
V(ERR_INVALID_ARG_TYPE, TypeError) \
2425
V(ERR_MEMORY_ALLOCATION_FAILED, Error) \
2526
V(ERR_MISSING_ARGS, TypeError) \
2627
V(ERR_MISSING_MODULE, Error) \
2728
V(ERR_STRING_TOO_LONG, Error) \
28-
V(ERR_BUFFER_TOO_LARGE, Error)
2929

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

0 commit comments

Comments
 (0)
Please sign in to comment.