add constraints arguments to errors