Home
last modified time | relevance | path

Searched refs:ThrowError (Results 1 – 8 of 8) sorted by relevance

/third_party/node/src/
Dnode_crypto.cc694 return env->ThrowError("Error generating ticket keys"); in Init()
731 return env->ThrowError("Only private key and pass phrase are expected"); in SetKey()
807 return env->ThrowError(errmsg); in SetEngineKey()
811 return env->ThrowError("ENGINE_init"); in SetEngineKey()
1090 return env->ThrowError("Failed to parse CRL"); in AddCRL()
1236 return env->ThrowError("Failed to set ECDH curve"); in SetECDHCurve()
1426 return env->ThrowError("Unable to load BIO"); in LoadPKCS12()
1483 return env->ThrowError(str); in LoadPKCS12()
1506 return env->ThrowError( in SetClientCertEngine()
1516 return env->ThrowError(errmsg); in SetClientCertEngine()
[all …]
Dnode_serdes.cc395 if (!ok) return ctx->env()->ThrowError("ReadUint32() failed"); in ReadUint32()
405 if (!ok) return ctx->env()->ThrowError("ReadUint64() failed"); in ReadUint64()
425 if (!ok) return ctx->env()->ThrowError("ReadDouble() failed"); in ReadDouble()
440 if (!ok) return ctx->env()->ThrowError("ReadRawBytes() failed"); in ReadRawBytes()
Denv-inl.h1008 inline void Environment::ThrowError(const char* errmsg) { in ThrowError() function
1009 ThrowError(v8::Exception::Error, errmsg); in ThrowError()
1013 ThrowError(v8::Exception::TypeError, errmsg); in ThrowTypeError()
1017 ThrowError(v8::Exception::RangeError, errmsg); in ThrowRangeError()
1020 inline void Environment::ThrowError( in ThrowError() function
Denv.h1084 inline void ThrowError(const char* errmsg);
1303 inline void ThrowError(v8::Local<v8::Value> (*fun)(v8::Local<v8::String>),
Dnode_options.cc898 return env->ThrowError( in GetOptions()
Dmodule_wrap.cc425 return env->ThrowError( in GetNamespace()
Dcares_wrap.cc726 return env()->ThrowError(ToErrorCodeString(r)); in Setup()
738 return env()->ThrowError(ToErrorCodeString(r)); in Setup()
Dnode_api.cc578 node_env->ThrowError( in napi_module_register_by_symbol()