diff options
author | James M Snell <jasnell@gmail.com> | 2020-05-08 01:49:14 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2020-06-16 19:23:34 +0300 |
commit | 55360443ced34515c775c5beb29f907de671dffe (patch) | |
tree | 77a533af0ace262f3d7b3adb6f198fdec4e5c946 /src/node_errors.h | |
parent | bccb514936ab5f225bb9fb7cda259490322321c1 (diff) |
quic: initial QUIC implementation
Co-authored-by: Anna Henningsen <anna@addaleax.net>
Co-authored-by: Daniel Bevenius <daniel.bevenius@gmail.com>
Co-authored-by: gengjiawen <technicalcute@gmail.com>
Co-authored-by: James M Snell <jasnell@gmail.com>
Co-authored-by: Lucas Pardue <lucaspardue.24.7@gmail.com>
Co-authored-by: Ouyang Yadong <oyydoibh@gmail.com>
Co-authored-by: Juan Jos<C3><A9> Arboleda <soyjuanarbol@gmail.com>
Co-authored-by: Trivikram Kamat <trivikr.dev@gmail.com>
Co-authored-by: Denys Otrishko <shishugi@gmail.com>
PR-URL: https://github.com/nodejs/node/pull/32379
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'src/node_errors.h')
-rw-r--r-- | src/node_errors.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/node_errors.h b/src/node_errors.h index b9f001d777b..871071aaa07 100644 --- a/src/node_errors.h +++ b/src/node_errors.h @@ -56,7 +56,9 @@ void OnFatalError(const char* location, const char* message); V(ERR_VM_MODULE_CACHED_DATA_REJECTED, Error) \ V(ERR_WASI_NOT_STARTED, Error) \ V(ERR_WORKER_INIT_FAILED, Error) \ - V(ERR_PROTO_ACCESS, Error) + V(ERR_PROTO_ACCESS, Error) \ + V(ERR_QUIC_CANNOT_SET_GROUPS, Error) \ + V(ERR_QUIC_FAILURE_SETTING_SNI_CONTEXT, Error) #define V(code, type) \ inline v8::Local<v8::Value> code(v8::Isolate* isolate, \ @@ -111,7 +113,9 @@ void OnFatalError(const char* location, const char* message); V(ERR_WORKER_INIT_FAILED, "Worker initialization failure") \ V(ERR_PROTO_ACCESS, \ "Accessing Object.prototype.__proto__ has been " \ - "disallowed with --disable-proto=throw") + "disallowed with --disable-proto=throw") \ + V(ERR_QUIC_CANNOT_SET_GROUPS, "Cannot set groups") \ + V(ERR_QUIC_FAILURE_SETTING_SNI_CONTEXT, "Failure setting SNI context") #define V(code, message) \ inline v8::Local<v8::Value> code(v8::Isolate* isolate) { \ |