summaryrefslogtreecommitdiff
path: root/src/tls_wrap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tls_wrap.cc')
-rw-r--r--src/tls_wrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls_wrap.cc b/src/tls_wrap.cc
index 093dc72af3..738bd04071 100644
--- a/src/tls_wrap.cc
+++ b/src/tls_wrap.cc
@@ -183,7 +183,7 @@ void TLSWrap::Wrap(const FunctionCallbackInfo<Value>& args) {
if (args.Length() < 1 || !args[0]->IsObject()) {
return env->ThrowTypeError(
- "First argument should be a StreamWrap instance");
+ "First argument should be a LibuvStreamWrap instance");
}
if (args.Length() < 2 || !args[1]->IsObject()) {
return env->ThrowTypeError(