terminusdb-labs / swipl-rs

25 stars 6 forks source link

introduce get_arg_ex #41

Closed matko closed 1 year ago

matko commented 1 year ago

get_arg_ex will raise an exception if an argument can't be retrieved from a function. This could be because the functor doesn't have enough arguments, or because the type is not the expected type.