[subset] store errors in the serializer as a flag set. Make check_assign/check_equal specify the type of error to set.