mirror of
https://github.com/fluencelabs/aquavm
synced 2025-06-25 20:51:32 +00:00
chore(execution-engine): replace IncompatibleJValueType with more specific FoldIteratesOverNonArray in fold (#502)
This commit is contained in:
@ -55,7 +55,7 @@ pub enum CatchableError {
|
||||
},
|
||||
|
||||
/// A fold instruction must iterate over array value.
|
||||
#[error("lambda '{1}' returned non-array value '{0}' for fold instruction")]
|
||||
#[error("expression '{1}' returned non-array value '{0}' for a fold iterable")]
|
||||
FoldIteratesOverNonArray(JValue, String),
|
||||
|
||||
/// This error type is produced by a match to notify xor that compared values aren't equal.
|
||||
|
Reference in New Issue
Block a user