Compare commits
5 Commits
1c65a2b035
...
d89afd18dc
Author | SHA1 | Date | |
---|---|---|---|
d89afd18dc | |||
8494c35d1c | |||
3735a83f57 | |||
6d3eb638d7 | |||
9ed2596b3d |
@ -34,14 +34,14 @@ impl Display for Error {
|
||||
fn fmt(&self, formatter: &mut Formatter<'_>) -> fmt::Result {
|
||||
write!(
|
||||
formatter,
|
||||
"failed to {}",
|
||||
"{}",
|
||||
match self {
|
||||
Error::CreateEnv(error) => format!("create environment: {error}"),
|
||||
Error::EvalChunk(error) => format!("evaluate chunk: {error}"),
|
||||
Error::ExecChunk(error) => format!("execute chunk: {error}"),
|
||||
Error::LoadChunk(error) => format!("load chunk: {error}"),
|
||||
Error::MissingPath(error) => format!("get SCRIPT_PATH global: {error}"),
|
||||
Error::ReadFile(error) => format!("read script file: {error}"),
|
||||
Error::CreateEnv(error) => format!("failed to create environment: {error}"),
|
||||
Error::EvalChunk(error) => format!("failed to evaluate chunk: {error}"),
|
||||
Error::ExecChunk(error) => format!("failed to execute chunk: {error}"),
|
||||
Error::LoadChunk(error) => format!("failed to load chunk: {error}"),
|
||||
Error::MissingPath(error) => format!("failed to get SCRIPT_PATH global: {error}"),
|
||||
Error::ReadFile(error) => format!("failed to read script file: {error}"),
|
||||
}
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user