Lines Matching refs:error
188 // Not an error. Suspend handshake with SSL_ERROR_WANT_X509_LOOKUP, and
709 // Handle error
712 Debug(this, "Ignoring error after shutdown");
716 // Notify about error
785 // We need to check whether an error occurred or the connection was
789 // change OpenSSL's error queue, modify ssl_, or even destroy ssl_
793 Local<Value> error;
814 error = Exception::Error(message);
815 if (UNLIKELY(error.IsEmpty())) return;
817 if (UNLIKELY(!error->ToObject(context).ToLocal(&obj))) return;
825 // SSL has no API to recover the error name from the number, so we
826 // transform reason strings like "this error" to "ERR_SSL_THIS_ERROR",
827 // which ends up being close to the original error macro name.
842 Debug(this, "Got SSL error (%d), calling onerror", err);
848 MakeCallback(env()->onerror_string(), 1, &error);
888 Debug(this, "Got SSL error (%d)", err);
890 // TODO(@sam-github) Should forward an error object with
897 // Push back the not-yet-written data. This can be skipped in the error
1061 // If we stopped writing because of an error, it's fatal, discard the data.
1064 // TODO(@jasnell): What are we doing with the error?
1065 Debug(this, "Got SSL error (%d), returning UV_EPROTO", err);
1231 // BIO_write(), etc., called by SSL_trace, may error. The error should
1235 // unwanted failures in SSL_ calls, so keep the error stack unchanged.
1524 tracker->TrackField("error", error_);
1554 // Not clear why sometimes we throw error, and sometimes we call
1751 return; // TODO(tniessen): figure out error handling
1754 return env->ThrowError("SSL_set_session error");
1769 // XXX(bnoordhuis) The UNABLE_TO_GET_ISSUER_CERT error when there is no
1783 Local<Object> error =
1788 if (Set(env, error, env->code_string(), code))
1789 args.GetReturnValue().Set(error);