Hi everyone,
I found that in the 0.24 version, different errors use the same error code. e.g.

WX_DEGRAD_ERR_INSTANCE_CREATE_FAILED("-1001", "degradeToH5|createInstance 
fail|wx_create_instance_error",ErrorType.DEGRAD_ERROR,ErrorGroup.NATIVE)
and

WX_JS_FRAMEWORK_REINIT_SUCCESS("-1001", "js framework reinit 
success",ErrorType.NATIVE_ERROR,ErrorGroup.NATIVE)

Both error codes are “-1001”, but the semantics are reversed, one is success 
and the other is failure.
This problem exists in several error codes:-1000, -1001, -1002, -1003, -1004, 
-1005, -1006, -2299.
This design can be confusing.

BTW,forgive my English ability, my first language is Chinese ;)

Reply via email to