{"record":{"id":"3df61f6266a6b249","repo":"oven-sh/bun","slug":"accessdenied","errorCode":null,"errorMessage":"AccessDenied","messagePattern":"AccessDenied","errorType":"error_code","errorClass":"bun_core::Error","httpStatus":null,"severity":"error","filePath":"src/bun_core/error.rs","lineNumber":24,"sourceCode":"    StreamTooLong,\n    #[error(\"FmtError\")]\n    FmtError,\n    #[error(\"Unexpected\")]\n    Unexpected,\n    #[error(\"InvalidByteSequence\")]\n    InvalidByteSequence,\n    #[error(\"StringTooLong\")]\n    StringTooLong,\n    #[error(\"InvalidCharacter\")]\n    InvalidCharacter,\n    // errno-category names kept local (bun_core cannot depend on bun_errno):\n    #[error(\"NoSpaceLeft\")]\n    NoSpaceLeft,\n    #[error(\"NameTooLong\")]\n    NameTooLong,\n    #[error(\"FileNotFound\")]\n    FileNotFound,\n    #[error(\"AccessDenied\")]\n    AccessDenied,\n    #[error(\"WriteFailed\")]\n    WriteFailed,\n    #[error(\"CurrentWorkingDirectoryUnlinked\")]\n    CurrentWorkingDirectoryUnlinked,\n    #[error(transparent)]\n    Alloc(#[from] bun_alloc::AllocError),\n}\n\nimpl Error {\n    #[allow(clippy::trivially_copy_pass_by_ref)]\n    pub fn name(&self) -> &'static str {\n        match self {\n            Self::EndOfStream => \"EndOfStream\",\n            Self::StreamTooLong => \"StreamTooLong\",\n            Self::FmtError => \"FmtError\",\n            Self::Unexpected => \"Unexpected\",\n            Self::InvalidByteSequence => \"InvalidByteSequence\",","sourceCodeStart":6,"sourceCodeEnd":42,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/bun_core/error.rs#L6-L42","documentation":"Error \"AccessDenied\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at src/bun_core/error.rs:24 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"8c5296ac459e8252d3cd702f3fbcbb0c249d95d5","analyzedAt":"2026-08-16T08:01:58.794Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}