iOS高德地图SDK(搜索) V9.8.0

Loading...
Searching...
No Matches
AMapSearchError.h
Go to the documentation of this file.
1//
2// AMapSearchError.h
3// AMapSearchKit
4//
5// Created by xiaoming han on 15/7/29.
6// Copyright (c) 2015年 Amap. All rights reserved.
7//
8
9#ifndef AMapSearchKit_AMapSearchError_h
10#define AMapSearchKit_AMapSearchError_h
11
13 extern NSString * const AMapSearchErrorDomain;
14
17 typedef NS_ENUM(NSInteger, AMapSearchErrorCode)
18{
19 AMapSearchErrorOK = 1000,
20 AMapSearchErrorInvalidSignature = 1001,
21 AMapSearchErrorInvalidUserKey = 1002,
22 AMapSearchErrorServiceNotAvailable = 1003,
23 AMapSearchErrorDailyQueryOverLimit = 1004,
24 AMapSearchErrorTooFrequently = 1005,
25 AMapSearchErrorInvalidUserIP = 1006,
26 AMapSearchErrorInvalidUserDomain = 1007,
27 AMapSearchErrorInvalidUserSCode = 1008,
28 AMapSearchErrorUserKeyNotMatch = 1009,
29 AMapSearchErrorIPQueryOverLimit = 1010,
30 AMapSearchErrorNotSupportHttps = 1011,
31 AMapSearchErrorInsufficientPrivileges = 1012,
32 AMapSearchErrorUserKeyRecycled = 1013,
33
34 AMapSearchErrorInvalidResponse = 1100,
35 AMapSearchErrorInvalidEngineData = 1101,
36 AMapSearchErrorConnectTimeout = 1102,
37 AMapSearchErrorReturnTimeout = 1103,
38 AMapSearchErrorInvalidParams = 1200,
39 AMapSearchErrorMissingRequiredParams = 1201,
40 AMapSearchErrorIllegalRequest = 1202,
41 AMapSearchErrorServiceUnknown = 1203,
42
43 AMapSearchErrorClientUnknown = 1800,
44 AMapSearchErrorInvalidProtocol = 1801,
45 AMapSearchErrorTimeOut = 1802,
46 AMapSearchErrorBadURL = 1803,
47 AMapSearchErrorCannotFindHost = 1804,
48 AMapSearchErrorCannotConnectToHost = 1805,
49 AMapSearchErrorNotConnectedToInternet = 1806,
50 AMapSearchErrorCancelled = 1807,
51
52 AMapSearchErrorOverPassPointCount = 1809,
53 AMapSearchErrorOverPassAreaMaxCount = 1810,
54 AMapSearchErrorOverPassAreaMaxArea = 1811,
55 AMapSearchErrorOverPassAreaPointCount = 1812,
56 AMapSearchErrorOverPassKeyWordLenth = 1813,
57
58 AMapSearchErrorTableIDNotExist = 2000,
59 AMapSearchErrorIDNotExist = 2001,
60 AMapSearchErrorServiceMaintenance = 2002,
61 AMapSearchErrorEngineTableIDNotExist = 2003,
62 AMapSearchErrorInvalidNearbyUserID = 2100,
63 AMapSearchErrorNearbyKeyNotBind = 2101,
64
65 AMapSearchErrorOutOfService = 3000,
66 AMapSearchErrorNoRoadsNearby = 3001,
67 AMapSearchErrorRouteFailed = 3002,
68 AMapSearchErrorOverDirectionRange = 3003,
69
70 AMapSearchErrorShareLicenseExpired = 4000,
71 AMapSearchErrorShareFailed = 4001,
72};
73
74@interface AMapSearchError : NSObject
75
77+ (NSString *)errorInfoWithCode:(AMapSearchErrorCode)errorCode;
78
79@end
80#endif
AMapSearchErrorCode
AMapSearchErrorCode
Definition AMapSearchError.h:18
AMapSearchErrorInvalidProtocol
@ AMapSearchErrorInvalidProtocol
协议解析错误，通常是返回结果无法解析
Definition AMapSearchError.h:44
AMapSearchErrorUserKeyNotMatch
@ AMapSearchErrorUserKeyNotMatch
请求key与绑定平台不符
Definition AMapSearchError.h:28
AMapSearchErrorCannotFindHost
@ AMapSearchErrorCannotFindHost
找不到主机
Definition AMapSearchError.h:47
AMapSearchErrorOverPassAreaMaxCount
@ AMapSearchErrorOverPassAreaMaxCount
避让区域个数超限
Definition AMapSearchError.h:53
AMapSearchErrorDailyQueryOverLimit
@ AMapSearchErrorDailyQueryOverLimit
访问已超出日访问量
Definition AMapSearchError.h:23
AMapSearchErrorUserKeyRecycled
@ AMapSearchErrorUserKeyRecycled
开发者key被删除，无法正常使用
Definition AMapSearchError.h:32
AMapSearchErrorInvalidParams
@ AMapSearchErrorInvalidParams
请求参数非法
Definition AMapSearchError.h:38
AMapSearchErrorInvalidUserSCode
@ AMapSearchErrorInvalidUserSCode
安全码验证错误，bundleID与key不对应
Definition AMapSearchError.h:27
AMapSearchErrorTooFrequently
@ AMapSearchErrorTooFrequently
用户访问过于频繁
Definition AMapSearchError.h:24
AMapSearchErrorIPQueryOverLimit
@ AMapSearchErrorIPQueryOverLimit
IP请求超限
Definition AMapSearchError.h:29
AMapSearchErrorMissingRequiredParams
@ AMapSearchErrorMissingRequiredParams
缺少必填参数
Definition AMapSearchError.h:39
AMapSearchErrorInvalidEngineData
@ AMapSearchErrorInvalidEngineData
引擎返回数据异常
Definition AMapSearchError.h:35
AMapSearchErrorNearbyKeyNotBind
@ AMapSearchErrorNearbyKeyNotBind
key未开通“附近”功能
Definition AMapSearchError.h:63
AMapSearchErrorCancelled
@ AMapSearchErrorCancelled
连接取消
Definition AMapSearchError.h:50
AMapSearchErrorServiceMaintenance
@ AMapSearchErrorServiceMaintenance
服务器维护中
Definition AMapSearchError.h:60
AMapSearchErrorServiceNotAvailable
@ AMapSearchErrorServiceNotAvailable
没有权限使用相应的接口
Definition AMapSearchError.h:22
AMapSearchErrorOverPassPointCount
@ AMapSearchErrorOverPassPointCount
途经点个数超限
Definition AMapSearchError.h:52
AMapSearchErrorConnectTimeout
@ AMapSearchErrorConnectTimeout
服务端请求链接超时
Definition AMapSearchError.h:36
AMapSearchErrorInvalidNearbyUserID
@ AMapSearchErrorInvalidNearbyUserID
找不到对应userID的信息
Definition AMapSearchError.h:62
AMapSearchErrorShareFailed
@ AMapSearchErrorShareFailed
短串请求失败
Definition AMapSearchError.h:71
AMapSearchErrorInvalidUserDomain
@ AMapSearchErrorInvalidUserDomain
用户域名无效
Definition AMapSearchError.h:26
AMapSearchErrorRouteFailed
@ AMapSearchErrorRouteFailed
路线计算失败，通常是由于道路连通关系导致
Definition AMapSearchError.h:67
AMapSearchErrorClientUnknown
@ AMapSearchErrorClientUnknown
客户端未知错误，服务返回结果为空或其他错误
Definition AMapSearchError.h:43
AMapSearchErrorNotConnectedToInternet
@ AMapSearchErrorNotConnectedToInternet
连接异常，通常为没有网络的情况
Definition AMapSearchError.h:49
AMapSearchErrorOverPassAreaMaxArea
@ AMapSearchErrorOverPassAreaMaxArea
避让区域大小超限
Definition AMapSearchError.h:54
AMapSearchErrorBadURL
@ AMapSearchErrorBadURL
URL异常
Definition AMapSearchError.h:46
AMapSearchErrorReturnTimeout
@ AMapSearchErrorReturnTimeout
读取服务结果超时
Definition AMapSearchError.h:37
AMapSearchErrorOverDirectionRange
@ AMapSearchErrorOverDirectionRange
起点终点距离过长
Definition AMapSearchError.h:68
AMapSearchErrorTimeOut
@ AMapSearchErrorTimeOut
连接超时
Definition AMapSearchError.h:45
AMapSearchErrorServiceUnknown
@ AMapSearchErrorServiceUnknown
其他服务端未知错误
Definition AMapSearchError.h:41
AMapSearchErrorInsufficientPrivileges
@ AMapSearchErrorInsufficientPrivileges
权限不足，服务请求被拒绝
Definition AMapSearchError.h:31
AMapSearchErrorIDNotExist
@ AMapSearchErrorIDNotExist
id 不存在
Definition AMapSearchError.h:59
AMapSearchErrorShareLicenseExpired
@ AMapSearchErrorShareLicenseExpired
短串分享认证失败
Definition AMapSearchError.h:70
AMapSearchErrorOutOfService
@ AMapSearchErrorOutOfService
规划点（包括起点、终点、途经点）不在中国范围内
Definition AMapSearchError.h:65
AMapSearchErrorTableIDNotExist
@ AMapSearchErrorTableIDNotExist
table id 格式不正确
Definition AMapSearchError.h:58
AMapSearchErrorInvalidUserIP
@ AMapSearchErrorInvalidUserIP
用户IP无效
Definition AMapSearchError.h:25
AMapSearchErrorEngineTableIDNotExist
@ AMapSearchErrorEngineTableIDNotExist
key对应的table id 不存在
Definition AMapSearchError.h:61
AMapSearchErrorOverPassAreaPointCount
@ AMapSearchErrorOverPassAreaPointCount
避让区域点个数超限
Definition AMapSearchError.h:55
AMapSearchErrorInvalidUserKey
@ AMapSearchErrorInvalidUserKey
key非法或过期
Definition AMapSearchError.h:21
AMapSearchErrorIllegalRequest
@ AMapSearchErrorIllegalRequest
请求协议非法
Definition AMapSearchError.h:40
AMapSearchErrorInvalidSignature
@ AMapSearchErrorInvalidSignature
无效签名
Definition AMapSearchError.h:20
AMapSearchErrorOverPassKeyWordLenth
@ AMapSearchErrorOverPassKeyWordLenth
搜索关键字长度超限
Definition AMapSearchError.h:56
AMapSearchErrorNotSupportHttps
@ AMapSearchErrorNotSupportHttps
不支持HTTPS请求
Definition AMapSearchError.h:30
AMapSearchErrorNoRoadsNearby
@ AMapSearchErrorNoRoadsNearby
规划点（包括起点、终点、途经点）附近搜不到道路
Definition AMapSearchError.h:66
AMapSearchErrorCannotConnectToHost
@ AMapSearchErrorCannotConnectToHost
服务器连接失败
Definition AMapSearchError.h:48
AMapSearchErrorInvalidResponse
@ AMapSearchErrorInvalidResponse
请求服务响应错误
Definition AMapSearchError.h:34
AMapSearchErrorOK
@ AMapSearchErrorOK
没有错误
Definition AMapSearchError.h:19
AMapSearchErrorDomain
NSString *const AMapSearchErrorDomain
AMapSearch errorDomain.
AMapSearchError
Definition AMapSearchError.h:75
© 2017 高德信息技术有限公司 版权所有，保留所有权利。