Lines Matching defs:errors
354 CryptoErrorStore* errors = CryptoJob<KeyExportTraits>::errors();
355 errors->Capture();
356 if (errors->Empty()) {
362 errors->Insert(NodeCryptoError::INVALID_KEY_TYPE);
365 errors->Insert(NodeCryptoError::CIPHER_JOB_FAILED);
375 CryptoErrorStore* errors = CryptoJob<KeyExportTraits>::errors();
377 CHECK(errors->Empty());
383 if (errors->Empty())
384 errors->Capture();
385 CHECK(!errors->Empty());
387 return v8::Just(errors->ToException(env).ToLocal(err));