better compiler errors
This commit is contained in:
parent
bbccf46d47
commit
09e07a1c8c
2 changed files with 2 additions and 2 deletions
|
@ -173,5 +173,5 @@ fn parse_and_compile(opts: &PlayOpts) -> anyhow::Result<Vec<f64>> {
|
|||
);
|
||||
}
|
||||
})
|
||||
.context("Failed to process input tokens")
|
||||
.context("Failed to compile tokens to samples")
|
||||
}
|
||||
|
|
|
@ -302,7 +302,7 @@ pub enum CompilerError {
|
|||
#[error(transparent)]
|
||||
SlopeNotFound(#[from] SlopeNotFoundError),
|
||||
#[error(
|
||||
"You successfully made a nilplet / noplet (and I don't know what to do with it).\nTo resume compilation, remove any occurrence of \"[]\" in your sheet music."
|
||||
"🎉 You successfully made a nilplet / noplet (and I don't know what to do with it)\nTo resume compilation, remove any occurrence of \"[]\" in your sheet music."
|
||||
)]
|
||||
Nilplet,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue