Use custom exception to store a hash of parameters errors