Skip to content

Error Codes

There are two main types of error codes:

  • Error codes defined by the WeChat SDK (errCode values are generally < 0)
  • Custom error codes defined by the plugin (errCode values are >= 1000)

WeChat SDK Error Codes

Error CodeDescription
-1General error
-2User canceled
-3Send failed
-4Authorization denied
-5Unsupported
-6Disabled

Plugin Error Codes

Error CodeDescription
1001WeChat API not initialized
1002WeChat not installed
1003Request failed to send
1004Invalid parameters
1005Thread error
1006IO error (image or file read error)
1007Unsupported API

Apache 2.0 License.