/lib/mailchimp-api/Mailchimp/Exceptions.php

  1. <?php 
  2.  
  3. class M2_Mailchimp_Error extends Exception {} 
  4. class M2_Mailchimp_HttpError extends M2_Mailchimp_Error {} 
  5.  
  6. /** 
  7. * The parameters passed to the API call are invalid or not provided when required 
  8. */ 
  9. class M2_Mailchimp_ValidationError extends M2_Mailchimp_Error {} 
  10.  
  11. /** 
  12. * None 
  13. */ 
  14. class M2_Mailchimp_ServerError_MethodUnknown extends M2_Mailchimp_Error {} 
  15.  
  16. /** 
  17. * None 
  18. */ 
  19. class M2_Mailchimp_ServerError_InvalidParameters extends M2_Mailchimp_Error {} 
  20.  
  21. /** 
  22. * None 
  23. */ 
  24. class M2_Mailchimp_Unknown_Exception extends M2_Mailchimp_Error {} 
  25.  
  26. /** 
  27. * None 
  28. */ 
  29. class M2_Mailchimp_Request_TimedOut extends M2_Mailchimp_Error {} 
  30.  
  31. /** 
  32. * None 
  33. */ 
  34. class M2_Mailchimp_Zend_Uri_Exception extends M2_Mailchimp_Error {} 
  35.  
  36. /** 
  37. * None 
  38. */ 
  39. class M2_Mailchimp_PDOException extends M2_Mailchimp_Error {} 
  40.  
  41. /** 
  42. * None 
  43. */ 
  44. class M2_Mailchimp_Avesta_Db_Exception extends M2_Mailchimp_Error {} 
  45.  
  46. /** 
  47. * None 
  48. */ 
  49. class M2_Mailchimp_XML_RPC2_Exception extends M2_Mailchimp_Error {} 
  50.  
  51. /** 
  52. * None 
  53. */ 
  54. class M2_Mailchimp_XML_RPC2_FaultException extends M2_Mailchimp_Error {} 
  55.  
  56. /** 
  57. * None 
  58. */ 
  59. class M2_Mailchimp_Too_Many_Connections extends M2_Mailchimp_Error {} 
  60.  
  61. /** 
  62. * None 
  63. */ 
  64. class M2_Mailchimp_Parse_Exception extends M2_Mailchimp_Error {} 
  65.  
  66. /** 
  67. * None 
  68. */ 
  69. class M2_Mailchimp_User_Unknown extends M2_Mailchimp_Error {} 
  70.  
  71. /** 
  72. * None 
  73. */ 
  74. class M2_Mailchimp_User_Disabled extends M2_Mailchimp_Error {} 
  75.  
  76. /** 
  77. * None 
  78. */ 
  79. class M2_Mailchimp_User_DoesNotExist extends M2_Mailchimp_Error {} 
  80.  
  81. /** 
  82. * None 
  83. */ 
  84. class M2_Mailchimp_User_NotApproved extends M2_Mailchimp_Error {} 
  85.  
  86. /** 
  87. * None 
  88. */ 
  89. class M2_Mailchimp_Invalid_ApiKey extends M2_Mailchimp_Error {} 
  90.  
  91. /** 
  92. * None 
  93. */ 
  94. class M2_Mailchimp_User_UnderMaintenance extends M2_Mailchimp_Error {} 
  95.  
  96. /** 
  97. * None 
  98. */ 
  99. class M2_Mailchimp_Invalid_AppKey extends M2_Mailchimp_Error {} 
  100.  
  101. /** 
  102. * None 
  103. */ 
  104. class M2_Mailchimp_Invalid_IP extends M2_Mailchimp_Error {} 
  105.  
  106. /** 
  107. * None 
  108. */ 
  109. class M2_Mailchimp_User_DoesExist extends M2_Mailchimp_Error {} 
  110.  
  111. /** 
  112. * None 
  113. */ 
  114. class M2_Mailchimp_User_InvalidRole extends M2_Mailchimp_Error {} 
  115.  
  116. /** 
  117. * None 
  118. */ 
  119. class M2_Mailchimp_User_InvalidAction extends M2_Mailchimp_Error {} 
  120.  
  121. /** 
  122. * None 
  123. */ 
  124. class M2_Mailchimp_User_MissingEmail extends M2_Mailchimp_Error {} 
  125.  
  126. /** 
  127. * None 
  128. */ 
  129. class M2_Mailchimp_User_CannotSendCampaign extends M2_Mailchimp_Error {} 
  130.  
  131. /** 
  132. * None 
  133. */ 
  134. class M2_Mailchimp_User_MissingModuleOutbox extends M2_Mailchimp_Error {} 
  135.  
  136. /** 
  137. * None 
  138. */ 
  139. class M2_Mailchimp_User_ModuleAlreadyPurchased extends M2_Mailchimp_Error {} 
  140.  
  141. /** 
  142. * None 
  143. */ 
  144. class M2_Mailchimp_User_ModuleNotPurchased extends M2_Mailchimp_Error {} 
  145.  
  146. /** 
  147. * None 
  148. */ 
  149. class M2_Mailchimp_User_NotEnoughCredit extends M2_Mailchimp_Error {} 
  150.  
  151. /** 
  152. * None 
  153. */ 
  154. class M2_Mailchimp_MC_InvalidPayment extends M2_Mailchimp_Error {} 
  155.  
  156. /** 
  157. * None 
  158. */ 
  159. class M2_Mailchimp_List_DoesNotExist extends M2_Mailchimp_Error {} 
  160.  
  161. /** 
  162. * None 
  163. */ 
  164. class M2_Mailchimp_List_InvalidInterestFieldType extends M2_Mailchimp_Error {} 
  165.  
  166. /** 
  167. * None 
  168. */ 
  169. class M2_Mailchimp_List_InvalidOption extends M2_Mailchimp_Error {} 
  170.  
  171. /** 
  172. * None 
  173. */ 
  174. class M2_Mailchimp_List_InvalidUnsubMember extends M2_Mailchimp_Error {} 
  175.  
  176. /** 
  177. * None 
  178. */ 
  179. class M2_Mailchimp_List_InvalidBounceMember extends M2_Mailchimp_Error {} 
  180.  
  181. /** 
  182. * None 
  183. */ 
  184. class M2_Mailchimp_List_AlreadySubscribed extends M2_Mailchimp_Error {} 
  185.  
  186. /** 
  187. * None 
  188. */ 
  189. class M2_Mailchimp_List_NotSubscribed extends M2_Mailchimp_Error {} 
  190.  
  191. /** 
  192. * None 
  193. */ 
  194. class M2_Mailchimp_List_InvalidImport extends M2_Mailchimp_Error {} 
  195.  
  196. /** 
  197. * None 
  198. */ 
  199. class M2_Mailchimp_MC_PastedList_Duplicate extends M2_Mailchimp_Error {} 
  200.  
  201. /** 
  202. * None 
  203. */ 
  204. class M2_Mailchimp_MC_PastedList_InvalidImport extends M2_Mailchimp_Error {} 
  205.  
  206. /** 
  207. * None 
  208. */ 
  209. class M2_Mailchimp_Email_AlreadySubscribed extends M2_Mailchimp_Error {} 
  210.  
  211. /** 
  212. * None 
  213. */ 
  214. class M2_Mailchimp_Email_AlreadyUnsubscribed extends M2_Mailchimp_Error {} 
  215.  
  216. /** 
  217. * None 
  218. */ 
  219. class M2_Mailchimp_Email_NotExists extends M2_Mailchimp_Error {} 
  220.  
  221. /** 
  222. * None 
  223. */ 
  224. class M2_Mailchimp_Email_NotSubscribed extends M2_Mailchimp_Error {} 
  225.  
  226. /** 
  227. * None 
  228. */ 
  229. class M2_Mailchimp_List_MergeFieldRequired extends M2_Mailchimp_Error {} 
  230.  
  231. /** 
  232. * None 
  233. */ 
  234. class M2_Mailchimp_List_CannotRemoveEmailMerge extends M2_Mailchimp_Error {} 
  235.  
  236. /** 
  237. * None 
  238. */ 
  239. class M2_Mailchimp_List_Merge_InvalidMergeID extends M2_Mailchimp_Error {} 
  240.  
  241. /** 
  242. * None 
  243. */ 
  244. class M2_Mailchimp_List_TooManyMergeFields extends M2_Mailchimp_Error {} 
  245.  
  246. /** 
  247. * None 
  248. */ 
  249. class M2_Mailchimp_List_InvalidMergeField extends M2_Mailchimp_Error {} 
  250.  
  251. /** 
  252. * None 
  253. */ 
  254. class M2_Mailchimp_List_InvalidInterestGroup extends M2_Mailchimp_Error {} 
  255.  
  256. /** 
  257. * None 
  258. */ 
  259. class M2_Mailchimp_List_TooManyInterestGroups extends M2_Mailchimp_Error {} 
  260.  
  261. /** 
  262. * None 
  263. */ 
  264. class M2_Mailchimp_Campaign_DoesNotExist extends M2_Mailchimp_Error {} 
  265.  
  266. /** 
  267. * None 
  268. */ 
  269. class M2_Mailchimp_Campaign_StatsNotAvailable extends M2_Mailchimp_Error {} 
  270.  
  271. /** 
  272. * None 
  273. */ 
  274. class M2_Mailchimp_Campaign_InvalidAbsplit extends M2_Mailchimp_Error {} 
  275.  
  276. /** 
  277. * None 
  278. */ 
  279. class M2_Mailchimp_Campaign_InvalidContent extends M2_Mailchimp_Error {} 
  280.  
  281. /** 
  282. * None 
  283. */ 
  284. class M2_Mailchimp_Campaign_InvalidOption extends M2_Mailchimp_Error {} 
  285.  
  286. /** 
  287. * None 
  288. */ 
  289. class M2_Mailchimp_Campaign_InvalidStatus extends M2_Mailchimp_Error {} 
  290.  
  291. /** 
  292. * None 
  293. */ 
  294. class M2_Mailchimp_Campaign_NotSaved extends M2_Mailchimp_Error {} 
  295.  
  296. /** 
  297. * None 
  298. */ 
  299. class M2_Mailchimp_Campaign_InvalidSegment extends M2_Mailchimp_Error {} 
  300.  
  301. /** 
  302. * None 
  303. */ 
  304. class M2_Mailchimp_Campaign_InvalidRss extends M2_Mailchimp_Error {} 
  305.  
  306. /** 
  307. * None 
  308. */ 
  309. class M2_Mailchimp_Campaign_InvalidAuto extends M2_Mailchimp_Error {} 
  310.  
  311. /** 
  312. * None 
  313. */ 
  314. class M2_Mailchimp_MC_ContentImport_InvalidArchive extends M2_Mailchimp_Error {} 
  315.  
  316. /** 
  317. * None 
  318. */ 
  319. class M2_Mailchimp_Campaign_BounceMissing extends M2_Mailchimp_Error {} 
  320.  
  321. /** 
  322. * None 
  323. */ 
  324. class M2_Mailchimp_Campaign_InvalidTemplate extends M2_Mailchimp_Error {} 
  325.  
  326. /** 
  327. * None 
  328. */ 
  329. class M2_Mailchimp_Invalid_EcommOrder extends M2_Mailchimp_Error {} 
  330.  
  331. /** 
  332. * None 
  333. */ 
  334. class M2_Mailchimp_Absplit_UnknownError extends M2_Mailchimp_Error {} 
  335.  
  336. /** 
  337. * None 
  338. */ 
  339. class M2_Mailchimp_Absplit_UnknownSplitTest extends M2_Mailchimp_Error {} 
  340.  
  341. /** 
  342. * None 
  343. */ 
  344. class M2_Mailchimp_Absplit_UnknownTestType extends M2_Mailchimp_Error {} 
  345.  
  346. /** 
  347. * None 
  348. */ 
  349. class M2_Mailchimp_Absplit_UnknownWaitUnit extends M2_Mailchimp_Error {} 
  350.  
  351. /** 
  352. * None 
  353. */ 
  354. class M2_Mailchimp_Absplit_UnknownWinnerType extends M2_Mailchimp_Error {} 
  355.  
  356. /** 
  357. * None 
  358. */ 
  359. class M2_Mailchimp_Absplit_WinnerNotSelected extends M2_Mailchimp_Error {} 
  360.  
  361. /** 
  362. * None 
  363. */ 
  364. class M2_Mailchimp_Invalid_Analytics extends M2_Mailchimp_Error {} 
  365.  
  366. /** 
  367. * None 
  368. */ 
  369. class M2_Mailchimp_Invalid_DateTime extends M2_Mailchimp_Error {} 
  370.  
  371. /** 
  372. * None 
  373. */ 
  374. class M2_Mailchimp_Invalid_Email extends M2_Mailchimp_Error {} 
  375.  
  376. /** 
  377. * None 
  378. */ 
  379. class M2_Mailchimp_Invalid_SendType extends M2_Mailchimp_Error {} 
  380.  
  381. /** 
  382. * None 
  383. */ 
  384. class M2_Mailchimp_Invalid_Template extends M2_Mailchimp_Error {} 
  385.  
  386. /** 
  387. * None 
  388. */ 
  389. class M2_Mailchimp_Invalid_TrackingOptions extends M2_Mailchimp_Error {} 
  390.  
  391. /** 
  392. * None 
  393. */ 
  394. class M2_Mailchimp_Invalid_Options extends M2_Mailchimp_Error {} 
  395.  
  396. /** 
  397. * None 
  398. */ 
  399. class M2_Mailchimp_Invalid_Folder extends M2_Mailchimp_Error {} 
  400.  
  401. /** 
  402. * None 
  403. */ 
  404. class M2_Mailchimp_Invalid_URL extends M2_Mailchimp_Error {} 
  405.  
  406. /** 
  407. * None 
  408. */ 
  409. class M2_Mailchimp_Module_Unknown extends M2_Mailchimp_Error {} 
  410.  
  411. /** 
  412. * None 
  413. */ 
  414. class M2_Mailchimp_MonthlyPlan_Unknown extends M2_Mailchimp_Error {} 
  415.  
  416. /** 
  417. * None 
  418. */ 
  419. class M2_Mailchimp_Order_TypeUnknown extends M2_Mailchimp_Error {} 
  420.  
  421. /** 
  422. * None 
  423. */ 
  424. class M2_Mailchimp_Invalid_PagingLimit extends M2_Mailchimp_Error {} 
  425.  
  426. /** 
  427. * None 
  428. */ 
  429. class M2_Mailchimp_Invalid_PagingStart extends M2_Mailchimp_Error {} 
  430.  
  431. /** 
  432. * None 
  433. */ 
  434. class M2_Mailchimp_Max_Size_Reached extends M2_Mailchimp_Error {} 
  435.  
  436. /** 
  437. * None 
  438. */ 
  439. class M2_Mailchimp_MC_SearchException extends M2_Mailchimp_Error {} 
  440.  
  441. /** 
  442. * None 
  443. */ 
  444. class M2_Mailchimp_Goal_SaveFailed extends M2_Mailchimp_Error {} 
  445.  
  446. /** 
  447. * None 
  448. */ 
  449. class M2_Mailchimp_Conversation_DoesNotExist extends M2_Mailchimp_Error {} 
  450.  
  451. /** 
  452. * None 
  453. */ 
  454. class M2_Mailchimp_Conversation_ReplySaveFailed extends M2_Mailchimp_Error {} 
  455.  
  456. /** 
  457. * None 
  458. */ 
  459. class M2_Mailchimp_File_Not_Found_Exception extends M2_Mailchimp_Error {} 
  460.  
  461. /** 
  462. * None 
  463. */ 
  464. class M2_Mailchimp_Folder_Not_Found_Exception extends M2_Mailchimp_Error {} 
  465.  
  466. /** 
  467. * None 
  468. */ 
  469. class M2_Mailchimp_Folder_Exists_Exception extends M2_Mailchimp_Error {} 
.