{"record":{"id":"6896409a26a2acad","repo":"oven-sh/bun","slug":"store-lookup","errorCode":"STORE_LOOKUP","errorMessage":"STORE_LOOKUP","messagePattern":"STORE_LOOKUP","errorType":"error_code","errorClass":"TypeError","httpStatus":null,"severity":"error","filePath":"src/http/error.rs","lineNumber":251,"sourceCode":"    #[error(\"SUITE_B_INVALID_ALGORITHM\")]\n    SUITE_B_INVALID_ALGORITHM,\n    #[error(\"SUITE_B_INVALID_CURVE\")]\n    SUITE_B_INVALID_CURVE,\n    #[error(\"SUITE_B_INVALID_SIGNATURE_ALGORITHM\")]\n    SUITE_B_INVALID_SIGNATURE_ALGORITHM,\n    #[error(\"SUITE_B_LOS_NOT_ALLOWED\")]\n    SUITE_B_LOS_NOT_ALLOWED,\n    #[error(\"SUITE_B_CANNOT_SIGN_P_384_WITH_P_256\")]\n    SUITE_B_CANNOT_SIGN_P_384_WITH_P_256,\n    #[error(\"HOSTNAME_MISMATCH\")]\n    HOSTNAME_MISMATCH,\n    #[error(\"EMAIL_MISMATCH\")]\n    EMAIL_MISMATCH,\n    #[error(\"IP_ADDRESS_MISMATCH\")]\n    IP_ADDRESS_MISMATCH,\n    #[error(\"INVALID_CALL\")]\n    INVALID_CALL,\n    #[error(\"STORE_LOOKUP\")]\n    STORE_LOOKUP,\n    #[error(\"NAME_CONSTRAINTS_WITHOUT_SANS\")]\n    NAME_CONSTRAINTS_WITHOUT_SANS,\n    #[error(\"UNKNOWN_CERTIFICATE_VERIFICATION_ERROR\")]\n    UNKNOWN_CERTIFICATE_VERIFICATION_ERROR,\n}\n\nimpl Error {\n    #[allow(clippy::trivially_copy_pass_by_ref)]\n    pub fn name(&self) -> &'static str {\n        match self {\n            Self::CompressionFailed => \"CompressionFailed\",\n            Self::Aborted => \"Aborted\",\n            Self::WriteFailed => \"WriteFailed\",\n            Self::HTTP2RefusedStream => \"HTTP2RefusedStream\",\n            Self::HTTP2ContentLengthMismatch => \"HTTP2ContentLengthMismatch\",\n            Self::HTTP2FrameSizeError => \"HTTP2FrameSizeError\",\n            Self::HTTP2ProtocolError => \"HTTP2ProtocolError\",","sourceCodeStart":233,"sourceCodeEnd":269,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/http/error.rs#L233-L269","documentation":"Certificate lookup in the trust store failed. Maps to OpenSSL X509_V_ERR_STORE_LOOKUP — fires when the CA certificate store cannot be searched, due to uninitialized store, I/O error reading store contents, or missing lookup methods.","triggerScenarios":"Thrown at src/http/error.rs:251 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the CA certificate store is properly initialized and loaded","Check file permissions and integrity of the CA bundle files","Ensure the store paths configured in the runtime point to valid certificate directories"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","contentChangedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}