Improve error output
This commit is contained in:
parent
0646d010c5
commit
f0635bf330
@ -303,7 +303,7 @@ impl fmt::Display for Error {
|
||||
ExpectedMap { actual } => write!(f, "Expected a map, but got {:?}.", actual),
|
||||
ExpectedTable { actual } => write!(f, "Expected a table, but got {:?}.", actual),
|
||||
ExpectedFunction { actual } => {
|
||||
write!(f, "Expected Value::Function, but got {:?}.", actual)
|
||||
write!(f, "Expected function, but got {:?}.", actual)
|
||||
}
|
||||
ExpectedCollection { actual } => {
|
||||
write!(
|
||||
|
Loading…
Reference in New Issue
Block a user