# wx.onLocationChangeError(function callback)

Start from base library version 2.19.5. Please remaining backward compatible.

with Promise style call: Not supported

Mini Program plugin: Not supported

Triggered when the listening persistent location interface returns a failure.

# parameter

# function callback

Callback function

# parameter

# Object res
attribute type Introductions
Error code errCode