Pass data to all exceptions in raise_errors