Test the DataLoader error handling using an object that can take an argument in its constructor, in this case Hash