fix error.code undefined bug
new version 0.0.11