{"record":{"id":"7b1de1ac81863e39","repo":"moonD4rk/HackBrowserData","slug":"unknown-engine-kind-q","errorCode":null,"errorMessage":"unknown engine kind %q","messagePattern":"unknown engine kind %q","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"browser/keydump.go","lineNumber":196,"sourceCode":"// the wire form via BrowserKind.String(), keeping the vocabulary single-sourced in the types enum.\nvar dumpableKinds = []types.BrowserKind{types.Chromium, types.ChromiumYandex, types.ChromiumOpera}\n\nfunc kindToDump(k types.BrowserKind) (string, error) {\n\tfor _, dk := range dumpableKinds {\n\t\tif k == dk {\n\t\t\treturn k.String(), nil\n\t\t}\n\t}\n\treturn \"\", fmt.Errorf(\"engine kind %s is not exportable\", k)\n}\n\nfunc kindFromDump(s string) (types.BrowserKind, error) {\n\tfor _, k := range dumpableKinds {\n\t\tif k.String() == s {\n\t\t\treturn k, nil\n\t\t}\n\t}\n\treturn 0, fmt.Errorf(\"unknown engine kind %q\", s)\n}\n","sourceCodeStart":178,"sourceCodeEnd":198,"githubUrl":"https://github.com/moonD4rk/HackBrowserData/blob/0503d04d7a8d0379d060268a74f1b149e5a0aad5/browser/keydump.go#L178-L198","documentation":"kindFromDump is the inverse of kindToDump: it matches the incoming wire string against String() of each entry in dumpableKinds (Chromium, ChromiumYandex, ChromiumOpera) and found no match, returning the zero BrowserKind plus this error. It means the JSON keys file contains a vault kind token this build does not recognize — written by a newer build, hand-edited, or corrupted — rather than a runtime engine failure.","triggerScenarios":"Thrown at browser/keydump.go:196 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the 'kind' fields in the keys JSON and correct any typo'd or mangled values","Regenerate the keys dump with the same (or older) build that will read it","Upgrade hack-browser-data to a version whose dumpableKinds includes the new kind token"],"exampleFix":null,"handlingStrategy":"type-guard","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0503d04d7a8d0379d060268a74f1b149e5a0aad5","analyzedAt":"2026-09-06T13:38:28.707Z","contentChangedAt":"2026-09-06T13:38:28.707Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}