{"record":{"id":"259dfee4f01d23d9","repo":"sipeed/picoclaw","slug":"s-type-error-at-line-d-column-d-expected-s-b","errorCode":null,"errorMessage":"%s type error at line %d, column %d: expected %s but got %s\\n%s","messagePattern":"(.+?) type error at line (.+?), column (.+?): expected (.+?) but got (.+?)\\\\n(.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/config/diagnostics.go","lineNumber":108,"sourceCode":"\t\t\t\t\tcolumn,\n\t\t\t\t\tfield,\n\t\t\t\t\te.Type.String(),\n\t\t\t\t\te.Value,\n\t\t\t\t\tpreview,\n\t\t\t\t)\n\t\t\t}\n\t\t\treturn fmt.Errorf(\n\t\t\t\t\"%s type error at line %d, column %d for field %q: expected %s but got %s\",\n\t\t\t\tlabel,\n\t\t\t\tline,\n\t\t\t\tcolumn,\n\t\t\t\tfield,\n\t\t\t\te.Type.String(),\n\t\t\t\te.Value,\n\t\t\t)\n\t\t}\n\t\tif preview != \"\" {\n\t\t\treturn fmt.Errorf(\n\t\t\t\t\"%s type error at line %d, column %d: expected %s but got %s\\n%s\",\n\t\t\t\tlabel,\n\t\t\t\tline,\n\t\t\t\tcolumn,\n\t\t\t\te.Type.String(),\n\t\t\t\te.Value,\n\t\t\t\tpreview,\n\t\t\t)\n\t\t}\n\t\treturn fmt.Errorf(\n\t\t\t\"%s type error at line %d, column %d: expected %s but got %s\",\n\t\t\tlabel,\n\t\t\tline,\n\t\t\tcolumn,\n\t\t\te.Type.String(),\n\t\t\te.Value,\n\t\t)\n\tdefault:","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/sipeed/picoclaw/blob/49183d7e8daed0dba89ddbb6fcb60089401d9680/pkg/config/diagnostics.go#L90-L126","documentation":"Error \"%s type error at line %d, column %d: expected %s but got %s\\n%s\" thrown in sipeed/picoclaw.","triggerScenarios":"Thrown at pkg/config/diagnostics.go:108 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":"49183d7e8daed0dba89ddbb6fcb60089401d9680","analyzedAt":"2026-08-15T21:55:41.315Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}