- missingCommand: Lake.CliError
- unknownCommand: String → Lake.CliError
- missingArg: String → Lake.CliError
- missingOptArg: String → String → Lake.CliError
- invalidOptArg: String → String → Lake.CliError
- unknownShortOption: Char → Lake.CliError
- unknownLongOption: String → Lake.CliError
- unexpectedArguments: List String → Lake.CliError
- unknownTemplate: String → Lake.CliError
- unknownConfigLang: String → Lake.CliError
- unknownModule: Lake.Name → Lake.CliError
- unknownPackage: String → Lake.CliError
- unknownFacet: String → Lake.Name → Lake.CliError
- unknownTarget: Lake.Name → Lake.CliError
- missingModule: Lake.Name → Lake.Name → Lake.CliError
- missingTarget: Lake.Name → String → Lake.CliError
- nonCliTarget: Lake.Name → Lake.CliError
- nonCliFacet: String → Lake.Name → Lake.CliError
- invalidTargetSpec: String → Char → Lake.CliError
- invalidFacet: Lake.Name → Lake.Name → Lake.CliError
- unknownExe: String → Lake.CliError
- unknownScript: String → Lake.CliError
- missingScriptDoc: String → Lake.CliError
- invalidScriptSpec: String → Lake.CliError
- outputConfigExists: Lake.FilePath → Lake.CliError
Translate Errors
- unknownLeanInstall: Lake.CliError
- unknownLakeInstall: Lake.CliError
- leanRevMismatch: String → String → Lake.CliError
- invalidEnv: String → Lake.CliError
Instances For
Equations
- Lake.instInhabitedCliError = { default := Lake.CliError.missingCommand }
Equations
- Lake.instReprCliError = { reprPrec := Lake.reprCliError✝ }
Equations
- One or more equations did not get rendered due to their size.
- Lake.CliError.missingCommand.toString = "missing command"
- (Lake.CliError.unknownCommand a).toString = toString "unknown command '" ++ toString a ++ toString "'"
- (Lake.CliError.missingArg a).toString = toString "missing " ++ toString a ++ toString ""
- (Lake.CliError.missingOptArg a a_1).toString = toString "missing " ++ toString a_1 ++ toString " for " ++ toString a ++ toString ""
- (Lake.CliError.invalidOptArg a a_1).toString = toString "invalid argument for " ++ toString a ++ toString "; expected " ++ toString a_1 ++ toString ""
- (Lake.CliError.unknownShortOption a).toString = toString "unknown short option '-" ++ toString a ++ toString "'"
- (Lake.CliError.unknownLongOption a).toString = toString "unknown long option '" ++ toString a ++ toString "'"
- (Lake.CliError.unexpectedArguments a).toString = toString "unexpected arguments: " ++ toString (" ".intercalate a) ++ toString ""
- (Lake.CliError.unknownTemplate a).toString = toString "unknown package template `" ++ toString a ++ toString "`"
- (Lake.CliError.unknownConfigLang a).toString = toString "unknown configuration language `" ++ toString a ++ toString "`"
- (Lake.CliError.unknownModule a).toString = toString "unknown module `" ++ toString (a.toString false) ++ toString "`"
- (Lake.CliError.unknownPackage a).toString = toString "unknown package `" ++ toString a ++ toString "`"
- (Lake.CliError.unknownFacet a a_1).toString = toString "unknown " ++ toString a ++ toString " facet `" ++ toString (a_1.toString false) ++ toString "`"
- (Lake.CliError.unknownTarget a).toString = toString "unknown target `" ++ toString (a.toString false) ++ toString "`"
- (Lake.CliError.missingModule a a_1).toString = toString "package '" ++ toString (a.toString false) ++ toString "' has no module '" ++ toString (a_1.toString false) ++ toString "'"
- (Lake.CliError.missingTarget a a_1).toString = toString "package '" ++ toString (a.toString false) ++ toString "' has no target '" ++ toString a_1 ++ toString "'"
- (Lake.CliError.nonCliTarget a).toString = toString "target `" ++ toString (a.toString false) ++ toString "` is not a buildable via `lake`"
- (Lake.CliError.nonCliFacet a a_1).toString = toString "" ++ toString a ++ toString " facet `" ++ toString (a_1.toString false) ++ toString "` is not a buildable via `lake`"
- (Lake.CliError.invalidTargetSpec a a_1).toString = toString "invalid script spec '" ++ toString a ++ toString "' (too many '" ++ toString a_1 ++ toString "')"
- (Lake.CliError.invalidFacet a a_1).toString = toString "invalid facet `" ++ toString (a_1.toString false) ++ toString "`; target " ++ toString (a.toString false) ++ toString " has no facets"
- (Lake.CliError.unknownExe a).toString = toString "unknown executable " ++ toString a ++ toString ""
- (Lake.CliError.unknownScript a).toString = toString "unknown script " ++ toString a ++ toString ""
- (Lake.CliError.missingScriptDoc a).toString = toString "no documentation provided for `" ++ toString a ++ toString "`"
- (Lake.CliError.invalidScriptSpec a).toString = toString "invalid script spec '" ++ toString a ++ toString "' (too many '/')"
- (Lake.CliError.outputConfigExists a).toString = toString "output configuration file already exists: " ++ toString a ++ toString ""
- Lake.CliError.unknownLeanInstall.toString = "could not detect a Lean installation"
- Lake.CliError.unknownLakeInstall.toString = "could not detect the configuration of the Lake installation"
- (Lake.CliError.invalidEnv a).toString = a
Instances For
Equations
- Lake.CliError.instToString = { toString := Lake.CliError.toString }