diff --git a/doc/api/errors.md b/doc/api/errors.md
index 1ab394580e7b76..13193f95ca9af8 100755
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -826,6 +826,11 @@ send something other than a regular file.
The `Http2Session` closed with a non-zero error code.
+
+### ERR_HTTP2_SETTINGS_CANCEL
+
+The `Http2Session` settings canceled.
+
### ERR_HTTP2_SOCKET_BOUND
diff --git a/lib/internal/errors.js b/lib/internal/errors.js
index 7a26d863fe0818..d216e9c37cf0b0 100644
--- a/lib/internal/errors.js
+++ b/lib/internal/errors.js
@@ -333,6 +333,7 @@ E('ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED', 'Cannot set HTTP/2 pseudo-headers');
E('ERR_HTTP2_PUSH_DISABLED', 'HTTP/2 client has disabled push streams');
E('ERR_HTTP2_SEND_FILE', 'Only regular files can be sent');
E('ERR_HTTP2_SESSION_ERROR', 'Session closed with error code %s');
+E('ERR_HTTP2_SETTINGS_CANCEL', 'HTTP2 session settings canceled');
E('ERR_HTTP2_SOCKET_BOUND',
'The socket is already bound to an Http2Session');
E('ERR_HTTP2_STATUS_101',