# TencentLBSGeofenceError Constants Reference

Declared in | TencentLBSGeofenceManager.h

### TencentLBSGeofenceError

地理围栏错误码枚举

#### Definition

`typedef NS_ENUM(NSInteger, TencentLBSGeofenceError ) {
TencentLBSGeofenceErrorUnknown = 0,
TencentLBSGeofenceErrorInvalidParameter = 1,
TencentLBSGeofenceErrorLocationNotAvailable = 2,
TencentLBSGeofenceErrorDenied = 3,
TencentLBSGeofenceErrorDuplicate = 4,
TencentLBSGeofenceErrorNetworkFailed = 5,
TencentLBSGeofenceErrorDistrictNotFound = 6,
TencentLBSGeofenceErrorDistrictDataInvalid = 7,
};`

#### Constants

`TencentLBSGeofenceErrorUnknown`

  未知错误

`TencentLBSGeofenceErrorInvalidParameter`

  参数无效

`TencentLBSGeofenceErrorLocationNotAvailable`

  定位不可用

`TencentLBSGeofenceErrorDenied`

  定位权限被拒绝

`TencentLBSGeofenceErrorDuplicate`

  围栏标识符重复

`TencentLBSGeofenceErrorNetworkFailed`

  网络请求失败（行政区划围栏）

`TencentLBSGeofenceErrorDistrictNotFound`

  未找到匹配的行政区划

`TencentLBSGeofenceErrorDistrictDataInvalid`

  行政区划数据无效（缺少边界数据等）

#### Declared In

`TencentLBSGeofenceManager.h`