From 34471c79ff3a700295d71a01ae8434882e58519c Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Sun, 13 May 2018 20:11:05 +0200 Subject: [PATCH] src: order C++ error list alphabetically MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/20707 Reviewed-By: Tobias Nießen Reviewed-By: Tiancheng "Timothy" Gu Reviewed-By: Trivikram Kamat Reviewed-By: Ruben Bridgewater Reviewed-By: Joyee Cheung Reviewed-By: Daniel Bevenius Reviewed-By: James M Snell Reviewed-By: Colin Ihrig --- src/node_errors.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node_errors.h b/src/node_errors.h index eb120c62807..b2f2b256c4c 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -22,6 +22,7 @@ namespace node { #define ERRORS_WITH_CODE(V) \ V(ERR_BUFFER_OUT_OF_BOUNDS, RangeError) \ + V(ERR_BUFFER_TOO_LARGE, Error) \ V(ERR_INDEX_OUT_OF_RANGE, RangeError) \ V(ERR_INVALID_ARG_VALUE, TypeError) \ V(ERR_INVALID_ARG_TYPE, TypeError) \ @@ -31,7 +32,6 @@ namespace node { V(ERR_SCRIPT_EXECUTION_INTERRUPTED, Error) \ V(ERR_SCRIPT_EXECUTION_TIMEOUT, Error) \ V(ERR_STRING_TOO_LONG, Error) \ - V(ERR_BUFFER_TOO_LARGE, Error) #define V(code, type) \ inline v8::Local code(v8::Isolate* isolate, \