{"record":{"id":"3854a06515d862cf","repo":"oven-sh/bun","slug":"formaterror","errorCode":null,"errorMessage":"FormatError","messagePattern":"FormatError","errorType":"error_code","errorClass":"bundler::Error","httpStatus":null,"severity":"error","filePath":"src/bundler/error.rs","lineNumber":37,"sourceCode":"    #[error(\"DuplicateOutputPath\")]\n    DuplicateOutputPath,\n    #[error(\"MultipleOutputFilesWithoutOutputDir\")]\n    MultipleOutputFilesWithoutOutputDir,\n    #[error(\"InvalidJSON\")]\n    InvalidJSON,\n    #[error(\"Fail\")]\n    Fail,\n    #[error(\"ParserError\")]\n    ParserError,\n    #[error(\"SyntaxError\")]\n    SyntaxError,\n    #[error(\"MinifyError\")]\n    MinifyError,\n    #[error(\"InvalidNativePlugin\")]\n    InvalidNativePlugin,\n    #[error(\"EmptyAST\")]\n    EmptyAST,\n    #[error(\"FormatError\")]\n    FormatError,\n    #[error(\"ResolveMessage\")]\n    ResolveMessage,\n    #[error(\"JSError\")]\n    Js(bun_core::JsError),\n    #[error(transparent)]\n    Sys(#[from] bun_errno::SystemErrno),\n    #[error(transparent)]\n    Alloc(#[from] bun_alloc::AllocError),\n    #[error(transparent)]\n    Core(#[from] bun_core::Error),\n    #[error(transparent)]\n    JsPrinter(#[from] bun_js_printer::Error),\n    #[error(transparent)]\n    Resolver(#[from] bun_resolver::Error),\n    #[error(transparent)]\n    Dotenv(#[from] bun_dotenv::Error),\n    #[error(transparent)]","sourceCodeStart":19,"sourceCodeEnd":55,"githubUrl":"https://github.com/oven-sh/bun/blob/8c5296ac459e8252d3cd702f3fbcbb0c249d95d5/src/bundler/error.rs#L19-L55","documentation":"Error \"FormatError\" thrown in oven-sh/bun.","triggerScenarios":"Thrown at src/bundler/error.rs:37 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"}