Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 01aa058

Browse filesBrowse files
addaleaxMylesBorins
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 5eb0765 commit 01aa058
Copy full SHA for 01aa058

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎src/node_errors.h‎

Copy file name to clipboardExpand all lines: src/node_errors.h
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.