o ckF["@sddlmZGdddeZGdddeZGdddeZGdd d eZGd d d eZGd d d eZGdddeZGdddeZ GdddeZ GdddeZ GdddeZ GdddeZ GdddeZGdddeZGdddeZGd d!d!eZGd"d#d#eZGd$d%d%eZGd&d'd'eZGd(d)d)eZGd*d+d+eZGd,d-d-eZGd.d/d/eZGd0d1d1eZGd2d3d3eZGd4d5d5eZGd6d7d7eZGd8d9d9eZGd:d;d;eZGdd?d?eZ Gd@dAdAeZ!GdBdCdCeZ"GdDdEdEeZ#GdFdGdGeZ$GdHdIdIeZ%GdJdKdKeZ&GdLdMdMeZ'GdNdOdOeZ(GdPdQdQeZ)GdRdSdSeZ*GdTdUdUeZ+GdVdWdWeZ,GdXdYdYeZ-GdZd[d[eZ.Gd\d]d]eZ/Gd^d_d_eZ0Gd`dadaeZ1GdbdcdceZ2GdddedeeZ3GdfdgdgeZ4GdhdidieZ5GdjdkdkeZ6GdldmdmeZ7GdndodoeZ8GdpdqdqeZ9GdrdsdseZ:GdtdudueZ;GdvdwdweZd|S)})BotoServerErrorc@seZdZddZdS)ResponseErrorFactorycOsHt|i|}t|jt}|j|g|Ri|}|j|j|S)N)rglobalsget error_code ResponseError__new____dict__update)clsargskwerrornewclassobjr4/usr/lib/python3/dist-packages/boto/fps/exception.pyrs zResponseErrorFactory.__new__N)__name__ __module__ __qualname__rrrrrrs rc@s$eZdZdZdZddZddZdS)rzUndefined response error. FcCsd|jj|j|j|jS)Nz{0}({1}, {2}, {3}))format __class__rstatusreason error_messageselfrrr__repr__s zResponseError.__repr__cCsd||jrdp d|jS)NzOFPS Response Error: {0.status} {0.__class__.__name__} {1} {2} {0.error_message}z (Retriable))rretry__doc__striprrrr__str__s  zResponseError.__str__N)rrrr rrr"rrrrrs  rc@eZdZdZdS)RetriableResponseErrorTN)rrrrrrrrr$ r$c@r#) AccessFailurez Account cannot be accessed. Nrrrr rrrrr&$r%r&c@r#) AccountClosedzAccount is not active. Nr'rrrrr()r%r(c@r#)AccountLimitsExceededz@The spending or receiving limit on the account is exceeded. Nr'rrrrr).r%r)c@r#)AmountOutOfRangez;The transaction amount is more than the allowed range. Nr'rrrrr*3r%r*c@r#) AuthFailurezBAWS was not able to validate the provided access credentials. Nr'rrrrr+8r%r+c@r#)ConcurrentModificationziA retriable error can happen when two processes try to modify the same data at the same time. Nr'rrrrr,=r%r,c@r#)DuplicateRequestzUA different request associated with this caller reference already exists. Nr'rrrrr-Cr%r-c@r#)InactiveInstrumentz$Payment instrument is inactive. Nr'rrrrr.Ir%r.c@r#)IncompatibleTokenszmThe transaction could not be completed because the tokens have incompatible payment instructions. Nr'rrrrr/Nr%r/c@r#)InstrumentAccessDeniedzjThe external calling application is not the recipient for this postpaid or prepaid instrument. Nr'rrrrr0Tr%r0c@r#)InstrumentExpiredz8The prepaid or the postpaid instrument has expired. Nr'rrrrr1Zr%r1c@r#)InsufficientBalancezrThe sender, caller, or recipient's account balance has insufficient funds to complete the transaction. Nr'rrrrr2_r%r2c@r#) InternalErrorzWA retriable error that happens due to some transient problem in the system. Nr'rrrrr3er%r3c@r#)InvalidAccountStatez/The account is either suspended or closed. Nr'rrrrr4kr%r4c@r#)InvalidAccountState_CallerzAThe developer account cannot participate in the transaction. Nr'rrrrr5pr%r5c@r#)InvalidAccountState_Recipientz=Recipient account cannot participate in the transaction. Nr'rrrrr6ur%r6c@r#)InvalidAccountState_Senderz:Sender account cannot participate in the transaction. Nr'rrrrr7zr%r7c@r#)InvalidCallerReferencezCThe Caller Reference does not have a token associated with it. Nr'rrrrr8r%r8c@r#)InvalidClientTokenIdzFThe AWS Access Key Id you provided does not exist in our records. Nr'rrrrr9r%r9c@r#)InvalidDateRangez_The end date specified is before the start date or the start date is in the future. Nr'rrrrr:r%r:c@r#) InvalidParamsz6One or more parameters in the request is invalid. Nr'rrrrr;r%r;c@r#)InvalidPaymentInstrumentz;The payment method used in the transaction is invalid. Nr'rrrrr<r%r<c@r#)InvalidPaymentMethodz$Specify correct payment method. Nr'rrrrr=r%r=c@r#) InvalidRecipientForCCTransactionz6This account cannot receive credit card payments. Nr'rrrrr>r%r>c@r#)InvalidSenderRoleForAccountTypez2This token cannot be used for this operation. Nr'rrrrr?r%r?c@r#)InvalidTokenIdzAYou did not install the token that you are trying to cancel. Nr'rrrrr@r%r@c@r#)InvalidTokenId_RecipientzAThe recipient token specified is either invalid or canceled. Nr'rrrrrAr%rAc@r#)InvalidTokenId_Senderz`The sender token specified is either invalid or canceled or the token is not active. Nr'rrrrrBr%rBc@r#)InvalidTokenTypezAn invalid operation was performed on the token, for example, getting the token usage information on a single use token. Nr'rrrrrCr%rCc@r#)InvalidTransactionIdzThe specified transaction could not be found or the caller did not execute the transaction or this is not a Pay or Reserve call. Nr'rrrrrDr%rDc@r#)InvalidTransactionStatezCThe transaction is not complete, or it has temporarily failed. Nr'rrrrrEr%rEc@r#)NotMarketplaceAppzsThis is not an marketplace application or the caller does not match either the sender or the recipient. Nr'rrrrrFr%rFc@r#)OriginalTransactionFailedz)The original transaction has failed. Nr'rrrrrGr%rGc@r#)OriginalTransactionIncompletez3The original transaction is still in progress. Nr'rrrrrHr%rHc@r#)PaymentInstrumentNotCCzThe payment method specified in the transaction is not a credit card. You can only use a credit card for this transaction. Nr'rrrrrIr%rIc@r#)PaymentMethodNotDefinedz6Payment method is not defined in the transaction. Nr'rrrrrJr%rJc@r#)PrepaidFundingLimitExceededzoAn attempt has been made to fund the prepaid instrument at a level greater than its recharge limit. Nr'rrrrrKr%rKc@r#)RefundAmountExceededz:The refund amount is more than the refundable amount. Nr'rrrrrLr%rLc@r#)SameSenderAndRecipientzAThe sender and receiver are identical, which is not allowed. Nr'rrrrrMr%rMc@r#)SameTokenIdUsedMultipleTimesz8This token is already used in earlier transactions. Nr'rrrrrNr%rNc@r#)SenderNotOriginalRecipientzbThe sender in the refund transaction is not the recipient of the original transaction. Nr'rrrrrOr%rOc@r#)SettleAmountGreaterThanDebtzUThe amount being settled or written off is greater than the current debt. Nr'rrrrrPr%rPc@r#)$SettleAmountGreaterThanReserveAmountzBThe amount being settled is greater than the reserved amount. Nr'rrrrrQr%rQc@r#)SignatureDoesNotMatchzaThe request signature calculated by Amazon does not match the signature you provided. Nr'rrrrrR r%rRc@r#)TokenAccessDeniedz.Permission to cancel the token is denied. Nr'rrrrrSr%rSc@r#)TokenNotActivezThe token is canceled. Nr'rrrrrTr%rTc@r#)TokenNotActive_Recipientz%The recipient token is canceled. Nr'rrrrrUr%rUc@r#)TokenNotActive_Senderz"The sender token is canceled. Nr'rrrrrVr%rVc@r#)TokenUsageErrorz'The token usage limit is exceeded. Nr'rrrrrW$r%rWc@r#)TransactionDeniedz$The transaction is not allowed. Nr'rrrrrX)r%rXc@r#)TransactionFullyRefundedAlreadyz:The transaction has already been completely refunded. Nr'rrrrrY.r%rYc@r#)TransactionTypeNotRefundablez(You cannot refund this transaction. Nr'rrrrrZ3r%rZc@r#)UnverifiedAccount_RecipientzThe recipient's account must have a verified bank account or a credit card before this transaction can be initiated. Nr'rrrrr[8r%r[c@r#)UnverifiedAccount_SenderzThe sender's account must have a verified U.S. credit card or a verified U.S bank account before this transaction can be initiated. Nr'rrrrr\>r%r\c@r#)UnverifiedBankAccountzAA verified bank account should be used for this transaction. Nr'rrrrr]Er%r]c@r#)UnverifiedEmailAddress_Callerz;The caller account must have a verified email address. Nr'rrrrr^Jr%r^c@r#) UnverifiedEmailAddress_Recipientz\The recipient account must have a verified email address for receiving payments. Nr'rrrrr_Or%r_c@r#)UnverifiedEmailAddress_SenderzSThe sender account must have a verified email address for this payment. Nr'rrrrr`Ur%r`N)?boto.exceptionrrrr$r&r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=r>r?r@rArBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXrYrZr[r\r]r^r_r`rrrrs|