Minor improvement of error type
This commit is contained in:
parent
554e50901e
commit
cbc51c23de
|
@ -24,7 +24,8 @@ module Declaration = {
|
||||||
Declaration.make(lambda, args),
|
Declaration.make(lambda, args),
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
| _ => Error("Error")
|
| Error(r) => Error(r)
|
||||||
|
| Ok(_) => Error(FunctionRegistry_Helpers.impossibleError)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user