(detailLines []string)
| 448 | } |
| 449 | |
| 450 | func formatSchemaDetailMessage(detailLines []string) string { |
| 451 | message := stripDetailLinePrefix(detailLines[0]) |
| 452 | if len(detailLines) != 1 { |
| 453 | message = "Multiple schema validation failures:\n- " + strings.Join(detailLines, "\n- ") |
| 454 | } |
| 455 | return message |
| 456 | } |
| 457 | |
| 458 | func formatCompilerErrorWithLocation(filePath string, line, column int, message string, contextLines []string) error { |
| 459 | compilerErr := console.CompilerError{ |
no test coverage detected