      1: <?php
      2:
      3: class Mailchimp_Error extends Exception {}
      4: class Mailchimp_HttpError extends Mailchimp_Error {}
      5:
      6: /**
      7:  * The parameters passed to the API call are invalid or not provided when required
      8:  */
      9: class Mailchimp_ValidationError extends Mailchimp_Error {}
     10:
     11: /**
     12:  * None
     13:  */
     14: class Mailchimp_ServerError_MethodUnknown extends Mailchimp_Error {}
     15:
     16: /**
     17:  * None
     18:  */
     19: class Mailchimp_ServerError_InvalidParameters extends Mailchimp_Error {}
     20:
     21: /**
     22:  * None
     23:  */
     24: class Mailchimp_Unknown_Exception extends Mailchimp_Error {}
     25:
     26: /**
     27:  * None
     28:  */
     29: class Mailchimp_Request_TimedOut extends Mailchimp_Error {}
     30:
     31: /**
     32:  * None
     33:  */
     34: class Mailchimp_Zend_Uri_Exception extends Mailchimp_Error {}
     35:
     36: /**
     37:  * None
     38:  */
     39: class Mailchimp_PDOException extends Mailchimp_Error {}
     40:
     41: /**
     42:  * None
     43:  */
     44: class Mailchimp_Avesta_Db_Exception extends Mailchimp_Error {}
     45:
     46: /**
     47:  * None
     48:  */
     49: class Mailchimp_XML_RPC2_Exception extends Mailchimp_Error {}
     50:
     51: /**
     52:  * None
     53:  */
     54: class Mailchimp_XML_RPC2_FaultException extends Mailchimp_Error {}
     55:
     56: /**
     57:  * None
     58:  */
     59: class Mailchimp_Too_Many_Connections extends Mailchimp_Error {}
     60:
     61: /**
     62:  * None
     63:  */
     64: class Mailchimp_Parse_Exception extends Mailchimp_Error {}
     65:
     66: /**
     67:  * None
     68:  */
     69: class Mailchimp_User_Unknown extends Mailchimp_Error {}
     70:
     71: /**
     72:  * None
     73:  */
     74: class Mailchimp_User_Disabled extends Mailchimp_Error {}
     75:
     76: /**
     77:  * None
     78:  */
     79: class Mailchimp_User_DoesNotExist extends Mailchimp_Error {}
     80:
     81: /**
     82:  * None
     83:  */
     84: class Mailchimp_User_NotApproved extends Mailchimp_Error {}
     85:
     86: /**
     87:  * None
     88:  */
     89: class Mailchimp_Invalid_ApiKey extends Mailchimp_Error {}
     90:
     91: /**
     92:  * None
     93:  */
     94: class Mailchimp_User_UnderMaintenance extends Mailchimp_Error {}
     95:
     96: /**
     97:  * None
     98:  */
     99: class Mailchimp_Invalid_AppKey extends Mailchimp_Error {}
    100:
    101: /**
    102:  * None
    103:  */
    104: class Mailchimp_Invalid_IP extends Mailchimp_Error {}
    105:
    106: /**
    107:  * None
    108:  */
    109: class Mailchimp_User_DoesExist extends Mailchimp_Error {}
    110:
    111: /**
    112:  * None
    113:  */
    114: class Mailchimp_User_InvalidRole extends Mailchimp_Error {}
    115:
    116: /**
    117:  * None
    118:  */
    119: class Mailchimp_User_InvalidAction extends Mailchimp_Error {}
    120:
    121: /**
    122:  * None
    123:  */
    124: class Mailchimp_User_MissingEmail extends Mailchimp_Error {}
    125:
    126: /**
    127:  * None
    128:  */
    129: class Mailchimp_User_CannotSendCampaign extends Mailchimp_Error {}
    130:
    131: /**
    132:  * None
    133:  */
    134: class Mailchimp_User_MissingModuleOutbox extends Mailchimp_Error {}
    135:
    136: /**
    137:  * None
    138:  */
    139: class Mailchimp_User_ModuleAlreadyPurchased extends Mailchimp_Error {}
    140:
    141: /**
    142:  * None
    143:  */
    144: class Mailchimp_User_ModuleNotPurchased extends Mailchimp_Error {}
    145:
    146: /**
    147:  * None
    148:  */
    149: class Mailchimp_User_NotEnoughCredit extends Mailchimp_Error {}
    150:
    151: /**
    152:  * None
    153:  */
    154: class Mailchimp_MC_InvalidPayment extends Mailchimp_Error {}
    155:
    156: /**
    157:  * None
    158:  */
    159: class Mailchimp_List_DoesNotExist extends Mailchimp_Error {}
    160:
    161: /**
    162:  * None
    163:  */
    164: class Mailchimp_List_InvalidInterestFieldType extends Mailchimp_Error {}
    165:
    166: /**
    167:  * None
    168:  */
    169: class Mailchimp_List_InvalidOption extends Mailchimp_Error {}
    170:
    171: /**
    172:  * None
    173:  */
    174: class Mailchimp_List_InvalidUnsubMember extends Mailchimp_Error {}
    175:
    176: /**
    177:  * None
    178:  */
    179: class Mailchimp_List_InvalidBounceMember extends Mailchimp_Error {}
    180:
    181: /**
    182:  * None
    183:  */
    184: class Mailchimp_List_AlreadySubscribed extends Mailchimp_Error {}
    185:
    186: /**
    187:  * None
    188:  */
    189: class Mailchimp_List_NotSubscribed extends Mailchimp_Error {}
    190:
    191: /**
    192:  * None
    193:  */
    194: class Mailchimp_List_InvalidImport extends Mailchimp_Error {}
    195:
    196: /**
    197:  * None
    198:  */
    199: class Mailchimp_MC_PastedList_Duplicate extends Mailchimp_Error {}
    200:
    201: /**
    202:  * None
    203:  */
    204: class Mailchimp_MC_PastedList_InvalidImport extends Mailchimp_Error {}
    205:
    206: /**
    207:  * None
    208:  */
    209: class Mailchimp_Email_AlreadySubscribed extends Mailchimp_Error {}
    210:
    211: /**
    212:  * None
    213:  */
    214: class Mailchimp_Email_AlreadyUnsubscribed extends Mailchimp_Error {}
    215:
    216: /**
    217:  * None
    218:  */
    219: class Mailchimp_Email_NotExists extends Mailchimp_Error {}
    220:
    221: /**
    222:  * None
    223:  */
    224: class Mailchimp_Email_NotSubscribed extends Mailchimp_Error {}
    225:
    226: /**
    227:  * None
    228:  */
    229: class Mailchimp_List_MergeFieldRequired extends Mailchimp_Error {}
    230:
    231: /**
    232:  * None
    233:  */
    234: class Mailchimp_List_CannotRemoveEmailMerge extends Mailchimp_Error {}
    235:
    236: /**
    237:  * None
    238:  */
    239: class Mailchimp_List_Merge_InvalidMergeID extends Mailchimp_Error {}
    240:
    241: /**
    242:  * None
    243:  */
    244: class Mailchimp_List_TooManyMergeFields extends Mailchimp_Error {}
    245:
    246: /**
    247:  * None
    248:  */
    249: class Mailchimp_List_InvalidMergeField extends Mailchimp_Error {}
    250:
    251: /**
    252:  * None
    253:  */
    254: class Mailchimp_List_InvalidInterestGroup extends Mailchimp_Error {}
    255:
    256: /**
    257:  * None
    258:  */
    259: class Mailchimp_List_TooManyInterestGroups extends Mailchimp_Error {}
    260:
    261: /**
    262:  * None
    263:  */
    264: class Mailchimp_Campaign_DoesNotExist extends Mailchimp_Error {}
    265:
    266: /**
    267:  * None
    268:  */
    269: class Mailchimp_Campaign_StatsNotAvailable extends Mailchimp_Error {}
    270:
    271: /**
    272:  * None
    273:  */
    274: class Mailchimp_Campaign_InvalidAbsplit extends Mailchimp_Error {}
    275:
    276: /**
    277:  * None
    278:  */
    279: class Mailchimp_Campaign_InvalidContent extends Mailchimp_Error {}
    280:
    281: /**
    282:  * None
    283:  */
    284: class Mailchimp_Campaign_InvalidOption extends Mailchimp_Error {}
    285:
    286: /**
    287:  * None
    288:  */
    289: class Mailchimp_Campaign_InvalidStatus extends Mailchimp_Error {}
    290:
    291: /**
    292:  * None
    293:  */
    294: class Mailchimp_Campaign_NotSaved extends Mailchimp_Error {}
    295:
    296: /**
    297:  * None
    298:  */
    299: class Mailchimp_Campaign_InvalidSegment extends Mailchimp_Error {}
    300:
    301: /**
    302:  * None
    303:  */
    304: class Mailchimp_Campaign_InvalidRss extends Mailchimp_Error {}
    305:
    306: /**
    307:  * None
    308:  */
    309: class Mailchimp_Campaign_InvalidAuto extends Mailchimp_Error {}
    310:
    311: /**
    312:  * None
    313:  */
    314: class Mailchimp_MC_ContentImport_InvalidArchive extends Mailchimp_Error {}
    315:
    316: /**
    317:  * None
    318:  */
    319: class Mailchimp_Campaign_BounceMissing extends Mailchimp_Error {}
    320:
    321: /**
    322:  * None
    323:  */
    324: class Mailchimp_Campaign_InvalidTemplate extends Mailchimp_Error {}
    325:
    326: /**
    327:  * None
    328:  */
    329: class Mailchimp_Invalid_EcommOrder extends Mailchimp_Error {}
    330:
    331: /**
    332:  * None
    333:  */
    334: class Mailchimp_Absplit_UnknownError extends Mailchimp_Error {}
    335:
    336: /**
    337:  * None
    338:  */
    339: class Mailchimp_Absplit_UnknownSplitTest extends Mailchimp_Error {}
    340:
    341: /**
    342:  * None
    343:  */
    344: class Mailchimp_Absplit_UnknownTestType extends Mailchimp_Error {}
    345:
    346: /**
    347:  * None
    348:  */
    349: class Mailchimp_Absplit_UnknownWaitUnit extends Mailchimp_Error {}
    350:
    351: /**
    352:  * None
    353:  */
    354: class Mailchimp_Absplit_UnknownWinnerType extends Mailchimp_Error {}
    355:
    356: /**
    357:  * None
    358:  */
    359: class Mailchimp_Absplit_WinnerNotSelected extends Mailchimp_Error {}
    360:
    361: /**
    362:  * None
    363:  */
    364: class Mailchimp_Invalid_Analytics extends Mailchimp_Error {}
    365:
    366: /**
    367:  * None
    368:  */
    369: class Mailchimp_Invalid_DateTime extends Mailchimp_Error {}
    370:
    371: /**
    372:  * None
    373:  */
    374: class Mailchimp_Invalid_Email extends Mailchimp_Error {}
    375:
    376: /**
    377:  * None
    378:  */
    379: class Mailchimp_Invalid_SendType extends Mailchimp_Error {}
    380:
    381: /**
    382:  * None
    383:  */
    384: class Mailchimp_Invalid_Template extends Mailchimp_Error {}
    385:
    386: /**
    387:  * None
    388:  */
    389: class Mailchimp_Invalid_TrackingOptions extends Mailchimp_Error {}
    390:
    391: /**
    392:  * None
    393:  */
    394: class Mailchimp_Invalid_Options extends Mailchimp_Error {}
    395:
    396: /**
    397:  * None
    398:  */
    399: class Mailchimp_Invalid_Folder extends Mailchimp_Error {}
    400:
    401: /**
    402:  * None
    403:  */
    404: class Mailchimp_Invalid_URL extends Mailchimp_Error {}
    405:
    406: /**
    407:  * None
    408:  */
    409: class Mailchimp_Module_Unknown extends Mailchimp_Error {}
    410:
    411: /**
    412:  * None
    413:  */
    414: class Mailchimp_MonthlyPlan_Unknown extends Mailchimp_Error {}
    415:
    416: /**
    417:  * None
    418:  */
    419: class Mailchimp_Order_TypeUnknown extends Mailchimp_Error {}
    420:
    421: /**
    422:  * None
    423:  */
    424: class Mailchimp_Invalid_PagingLimit extends Mailchimp_Error {}
    425:
    426: /**
    427:  * None
    428:  */
    429: class Mailchimp_Invalid_PagingStart extends Mailchimp_Error {}
    430:
    431: /**
    432:  * None
    433:  */
    434: class Mailchimp_Max_Size_Reached extends Mailchimp_Error {}
    435:
    436: /**
    437:  * None
    438:  */
    439: class Mailchimp_MC_SearchException extends Mailchimp_Error {}
    440:
    441:
    442: