We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb0765 commit 01aa058Copy full SHA for 01aa058
src/node_errors.h
@@ -18,14 +18,14 @@ namespace node {
18
19
#define ERRORS_WITH_CODE(V) \
20
V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \
21
+ V(ERR_BUFFER_TOO_LARGE, Error) \
22
V(ERR_INDEX_OUT_OF_RANGE, RangeError) \
23
V(ERR_INVALID_ARG_VALUE, TypeError) \
24
V(ERR_INVALID_ARG_TYPE, TypeError) \
25
V(ERR_MEMORY_ALLOCATION_FAILED, Error) \
26
V(ERR_MISSING_ARGS, TypeError) \
27
V(ERR_MISSING_MODULE, Error) \
28
V(ERR_STRING_TOO_LONG, Error) \
- V(ERR_BUFFER_TOO_LARGE, Error)
29
30
#define V(code, type) \
31
inline v8::Local<v8::Value> code(v8::Isolate* isolate, \
0 commit comments