forked from galaxydi/go-loghub
-
Notifications
You must be signed in to change notification settings - Fork 113
/
error_code.go
55 lines (54 loc) · 2.41 KB
/
error_code.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package sls
const MISSING_CONTENT_LENGTH = "MissingContentLength"
const INVALID_CONTENT_TYPE = "InvalidContentType"
const MISSING_CONTENT_TYPE = "MissingContentType"
const MISSING_BODY_RAW_SIZE = "MissingBodyRawSize"
const INVALID_BODY_RAW_SIZE = "InvalidBodyRawSize"
const INVALID_COMPRESS_TYPE = "InvalidCompressType"
const MISSING_HOST = "MissingHost"
const MISSING_DATE = "MissingDate"
const INVALID_DATE_FORMAT = "InvalidDateFormat"
const MISSING_API_VERSION = "MissingAPIVersion"
const INVALID_API_VERSION = "InvalidAPIVersion"
const MISS_ACCESS_KEY_ID = "MissAccessKeyId"
const UN_AUTHORIZED = "Unauthorized"
const MISSING_SIGNATURE_METHOD = "MissingSignatureMethod"
const INVALID_SIGNATURE_METHOD = "InvalidSignatureMethod"
const REQUEST_TIME_TOO_SKEWED = "RequestTimeTooSkewed"
const PROJECT_NOT_EXIST = "ProjectNotExist"
const SIGNATURE_NOT_MATCH = "SignatureNotMatch"
const WRITE_QUOTA_EXCEED = "WriteQuotaExceed"
const SHARD_WRITE_QUOTA_EXCEED = "ShardWriteQuotaExceed"
const READ_QUOTA_EXCEED = "ReadQuotaExceed"
const SHARD_READ_QUOTA_EXCEED = "ShardReadQuotaExceed"
const INTERNAL_SERVER_ERROR = "InternalServerError"
const SERVER_BUSY = "ServerBusy"
const LOGSTORE_ALREADY_EXIST = "LogStoreAlreadyExist"
const LOGSTORE_INFO_INVALID = "LogstoreInfoInvalid"
const PROJECT_QUOTA_EXCEED = "ProjectQuotaExceed"
const PROJECT_FORBIDDEN = "ProjectForbidden"
const LOGSTORE_NOT_EXIST = "LogStoreNotExist"
const PARAMETER_INVALID = "ParameterInvalid"
const INVALID_LOGSTORE_QUERY = "InvalidLogStoreQuery"
const LOGSTORE_WITHOUT_SHARD = "LogStoreWithoutShard"
const SHARD_NOT_EXIST = "ShardNotExist"
const INVALID_CURSOR = "InvalidCursor"
const POST_BODY_INVALID = "PostBodyInvalid"
const INVALID_TIMESTAMP = "InvalidTimestamp"
const INVALID_ENCODING = "InvalidEncoding"
const INVALID_KEY = "InvalidKey"
const POST_BODY_TOO_LARGE = "PostBodyTooLarge"
const POST_BODY_UNCOMPRESS_ERROR = "PostBodyUncompressError"
const SHIPPER_NOT_EXIST = "ShipperNotExist"
const INVALID_TIME_RANGE = "InvalidTimeRange"
const INVALID_QUERY_STRING = "InvalidQueryString"
const INVALID_OFFSET = "InvalidOffset"
const INVALID_LINE = "InvalidLine"
const INVALID_REVERSE = "InvalidReverse"
const GROUP_ALREADY_EXIST = "GroupAlreadyExist"
const GROUP_NOT_EXIST = "GroupNotExist"
const CONFIG_NOT_EXIST = "ConfigNotExist"
const CONFIG_ALREADY_EXIST = "ConfigAlreadyExist"
const BAD_REQUEST = "BadRequest"
const INVALID_PARAMETER = "InvalidParameter"
const NOT_SUPPORTED = "NotSupported"