Changing the exception class is breaking the specs. You might have meant `raise error…`.