The judge who awarded more than $320,000 to a former general manager of Atanaskovic Hartnell after finding she endured a “campaign of denigration” by the law firm’s founder fundamentally failed to discharge his judicial function, an appeals court has heard.