Raise as error to set proper exit codes