+ Added missing method for error handling