Checks for error in callback for getSemesters service.