Minor improvement of error type

This commit is contained in:
Ozzie Gooen 2022-05-27 07:29:39 -04:00
parent 554e50901e
commit cbc51c23de

View File

@ -24,7 +24,8 @@ module Declaration = {
Declaration.make(lambda, args),
))
}
| _ => Error("Error")
| Error(r) => Error(r)
| Ok(_) => Error(FunctionRegistry_Helpers.impossibleError)
}
}
}