Provides error code.
var value = obj.getErrorProperty("code");
or
obj.setErrorProperty("code", value);
error Model, defineProperty Method