Yeah, I agree - this error should be moved to a different file.