diff --git a/doc/api/errors.md b/doc/api/errors.md index cdd57ceafac249..5fb6673ddfe276 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -2389,7 +2389,7 @@ value is provided for an option of type {boolean}. added: v18.3.0 --> -Thrown by [`util.parseArgs()`][], when a postional argument is provided and +Thrown by [`util.parseArgs()`][], when a positional argument is provided and `allowPositionals` is set to `false`. @@ -2690,7 +2690,7 @@ added: - v12.17.0 --> -The TLS socket must be connected and securily established. Ensure the 'secure' +The TLS socket must be connected and securely established. Ensure the 'secure' event is emitted before continuing.