Class for creating response errors.