[paramters.base] use exceptions from dune-stuff
[parameters.functional] update exceptions