rename RunError to RuntimeFailure

This commit is contained in:
2026-01-08 21:29:32 +01:00
parent c8e3902661
commit fa5fa89bec
12 changed files with 17 additions and 17 deletions

View File

@@ -31,7 +31,7 @@ sealed class Command private constructor(
command.renderer.render(result.path)?.let { print(it) }
}
is ContextParser.Result.Failure -> {
println("error: ${result.error.message}")
println("error: ${result.failure.message}")
val command = result.path.last()
command.renderer.render(result.path)?.let {
println()