Eliminate the separate errmode parameter in assignment, just use ectx