This seems a problem if we enable ErrorCode.
will cause lots of instrumentation failures.
@xingnan  I guess you don't test instrumentation tests for share mode, right?