Class fs3ErrorCodes

Description

This class defines error codes for the API and provided functions useful to converting error codes.

For complete explaination of the error code refer to http://docs.amazonwebservices.com/AmazonS3/2006-03-01/index.html?ErrorCodeList.html

Located in /classes/fs3ErrorCodes.php (line 19)


	
			
Class Constant Summary
 AccessDenied = 1001
 BadDigest = 1004
 ExpiredToken = 1012
 InternalError = 1016
 InvalidDigest = 1021
 InvalidPayer = 1023
 InvalidRange = 1025
 InvalidToken = 1030
 InvalidURI = 1031
 KeyTooLong = 1032
 MalformedXML = 1035
 NoSuchBucket = 1046
 NoSuchKey = 1047
 NotSignedUp = 1049
 Redirect = 1053
 SlowDown = 1059
 UnknownError = 1000
Method Summary
static array getAllCodes ()
static integer getErrorCode (string $errorString)
static string getErrorString (int $errorCode)
static HTTP getHttpErrorCode (int $errorCode)
Methods
static getAllCodes (line 95)

Gets an hash map of all the error codes useful for converting between string and integer representations of the error.

  • return: map of string keys and integer values.
  • access: public
static array getAllCodes ()
static getErrorCode (line 186)

Gets integer representation of a string error code.

  • return: representation of a string error code.
  • access: public
static integer getErrorCode (string $errorString)
  • string $errorString: string error code
static getErrorString (line 172)

Gets string representation of an integer error code.

  • return: representation of an integer error code.
  • access: public
static string getErrorString (int $errorCode)
  • int $errorCode: integer error code
static getHttpErrorCode (line 200)

Gets the HTTP error code for the provided integer error code.

  • return: error code.
  • access: public
static HTTP getHttpErrorCode (int $errorCode)
  • int $errorCode: integer error code
Class Constants
AccessDenied = 1001 (line 22)
AccountProblem = 1002 (line 23)
AmbiguousGrantByEmailAddress = 1003 (line 24)
BadDigest = 1004 (line 25)
BucketAlreadyExists = 1005 (line 26)
BucketAlreadyOwnedByYou = 1006 (line 27)
BucketNotEmpty = 1007 (line 28)
CredentialsNotSupported = 1008 (line 29)
CrossLocationLoggingProhibited = 1009 (line 30)
EntityTooLarge = 1011 (line 32)
EntityTooSmall = 1010 (line 31)
ExpiredToken = 1012 (line 33)
IncompleteBody = 1013 (line 34)
IncorrectNumberOfFilesInPostRequest = 1014 (line 35)
InlineDataTooLarge = 1015 (line 36)
InternalError = 1016 (line 37)
InvalidAccessKeyId = 1017 (line 38)
InvalidAddressingHeader = 1018 (line 39)
InvalidArgument = 1019 (line 40)
InvalidBucketName = 1020 (line 41)
InvalidDigest = 1021 (line 42)
InvalidLocationConstraint = 1022 (line 43)
InvalidPayer = 1023 (line 44)
InvalidPolicyDocument = 1024 (line 45)
InvalidRange = 1025 (line 46)
InvalidSecurity = 1026 (line 47)
InvalidSOAPRequest = 1027 (line 48)
InvalidStorageClass = 1028 (line 49)
InvalidTargetBucketForLogging = 1029 (line 50)
InvalidToken = 1030 (line 51)
InvalidURI = 1031 (line 52)
KeyTooLong = 1032 (line 53)
MalformedACLError = 1033 (line 54)
MalformedPOSTRequest = 1034 (line 55)
MalformedXML = 1035 (line 56)
MaxMessageLengthExceeded = 1036 (line 57)
MaxPostPreDataLengthExceededError = 1037 (line 58)
MetadataTooLarge = 1038 (line 59)
MethodNotAllowed = 1039 (line 60)
MissingAttachment = 1040 (line 61)
MissingContentLength = 1041 (line 62)
MissingRequestBodyError = 1042 (line 63)
MissingSecurityElement = 1043 (line 64)
MissingSecurityHeader = 1044 (line 65)
NoLoggingStatusForKey = 1045 (line 66)
NoSuchBucket = 1046 (line 67)
NoSuchKey = 1047 (line 68)
NotImplemented = 1048 (line 69)
NotSignedUp = 1049 (line 70)
OperationAborted = 1050 (line 71)
PermanentRedirect = 1051 (line 72)
PreconditionFailed = 1052 (line 73)
Redirect = 1053 (line 74)
RequestIsNotMultiPartContent = 1054 (line 75)
RequestTimeout = 1055 (line 76)
RequestTimeTooSkewed = 1056 (line 77)
RequestTorrentOfBucketError = 1057 (line 78)
SignatureDoesNotMatch = 1058 (line 79)
SlowDown = 1059 (line 80)
TemporaryRedirect = 1060 (line 81)
TokenRefreshRequired = 1061 (line 82)
TooManyBuckets = 1062 (line 83)
UnexpectedContent = 1063 (line 84)
UnknownError = 1000 (line 21)
UnresolvableGrantByEmailAddress = 1064 (line 85)
UserKeyMustBeSpecified = 1065 (line 86)

Documentation generated on Thu, 04 Feb 2010 04:14:25 +0000 by phpDocumentor 1.4.3