clique_error defines how to format all errors, but if I want to validate a flag is properly formed, I can't customize the output (actually I'll probably get function_clause). Example typecasting function:
I should be able to use symbolic errors in this case or handle them explicitly by running the command with flagged inputs. Currently I can do neither because clique_error is called immediately upon encountering an error.
clique_error
defines how to format all errors, but if I want to validate a flag is properly formed, I can't customize the output (actually I'll probably getfunction_clause
). Example typecasting function:I should be able to use symbolic errors in this case or handle them explicitly by running the command with flagged inputs. Currently I can do neither because
clique_error
is called immediately upon encountering an error.