PageRenderTime 59ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 1ms

/dist/js-sdk-api-docs/symbols/AV.Error.html

https://github.com/leancloud/javascript-sdk
HTML | 2057 lines | 1159 code | 881 blank | 17 comment | 0 complexity | 70db30c51430a984c7d567326f2e9b59 MD5 | raw file
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4. <head>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <meta name="generator" content="JsDoc Toolkit" />
  7. <title>JsDoc Reference - AV.Error</title>
  8. <style type="text/css">
  9. /* default.css */
  10. body
  11. {
  12. font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
  13. width: 800px;
  14. }
  15. .header
  16. {
  17. clear: both;
  18. background-color: #ccc;
  19. padding: 8px;
  20. }
  21. h1
  22. {
  23. font-size: 150%;
  24. font-weight: bold;
  25. padding: 0;
  26. margin: 1em 0 0 .3em;
  27. }
  28. hr
  29. {
  30. border: none 0;
  31. border-top: 1px solid #7F8FB1;
  32. height: 1px;
  33. }
  34. pre.code
  35. {
  36. display: block;
  37. padding: 8px;
  38. border: 1px dashed #ccc;
  39. }
  40. #index
  41. {
  42. margin-top: 24px;
  43. float: left;
  44. width: 160px;
  45. position: absolute;
  46. left: 8px;
  47. background-color: #F3F3F3;
  48. padding: 8px;
  49. }
  50. #content
  51. {
  52. margin-left: 190px;
  53. width: 600px;
  54. }
  55. .classList
  56. {
  57. list-style-type: none;
  58. padding: 0;
  59. margin: 0 0 0 8px;
  60. font-family: arial, sans-serif;
  61. font-size: 1em;
  62. overflow: auto;
  63. }
  64. .classList li
  65. {
  66. padding: 0;
  67. margin: 0 0 8px 0;
  68. }
  69. .summaryTable { width: 100%; }
  70. h1.classTitle
  71. {
  72. font-size:170%;
  73. line-height:130%;
  74. }
  75. h2 { font-size: 110%; }
  76. caption, div.sectionTitle
  77. {
  78. background-color: #7F8FB1;
  79. color: #fff;
  80. font-size:130%;
  81. text-align: left;
  82. padding: 2px 6px 2px 6px;
  83. border: 1px #7F8FB1 solid;
  84. }
  85. div.sectionTitle { margin-bottom: 8px; }
  86. .summaryTable thead { display: none; }
  87. .summaryTable td
  88. {
  89. vertical-align: top;
  90. padding: 4px;
  91. border-bottom: 1px #7F8FB1 solid;
  92. border-right: 1px #7F8FB1 solid;
  93. }
  94. /*col#summaryAttributes {}*/
  95. .summaryTable td.attributes
  96. {
  97. border-left: 1px #7F8FB1 solid;
  98. width: 140px;
  99. text-align: right;
  100. }
  101. td.attributes, .fixedFont
  102. {
  103. line-height: 15px;
  104. color: #002EBE;
  105. font-family: "Courier New",Courier,monospace;
  106. font-size: 13px;
  107. }
  108. .summaryTable td.nameDescription
  109. {
  110. text-align: left;
  111. font-size: 13px;
  112. line-height: 15px;
  113. }
  114. .summaryTable td.nameDescription, .description
  115. {
  116. line-height: 15px;
  117. padding: 4px;
  118. padding-left: 4px;
  119. }
  120. .summaryTable { margin-bottom: 8px; }
  121. ul.inheritsList
  122. {
  123. list-style: square;
  124. margin-left: 20px;
  125. padding-left: 0;
  126. }
  127. .detailList {
  128. margin-left: 20px;
  129. line-height: 15px;
  130. }
  131. .detailList dt { margin-left: 20px; }
  132. .detailList .heading
  133. {
  134. font-weight: bold;
  135. padding-bottom: 6px;
  136. margin-left: 0;
  137. }
  138. .light, td.attributes, .light a:link, .light a:visited
  139. {
  140. color: #777;
  141. font-style: italic;
  142. }
  143. .fineprint
  144. {
  145. text-align: right;
  146. font-size: 10px;
  147. }
  148. </style>
  149. </head>
  150. <body>
  151. <!-- ============================== header ================================= -->
  152. <!-- begin static/header.html -->
  153. <div id="header">
  154. </div>
  155. <!-- end static/header.html -->
  156. <!-- ============================== classes index ============================ -->
  157. <div id="index">
  158. <!-- begin publish.classesIndex -->
  159. <div align="center"><a href="../index.html">Class Index</a>
  160. | <a href="../files.html">File Index</a></div>
  161. <hr />
  162. <h2>Classes</h2>
  163. <ul class="classList">
  164. <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
  165. <li><a href="../symbols/AV.html">AV</a></li>
  166. <li><a href="../symbols/AV.ACL.html">AV.ACL</a></li>
  167. <li><a href="../symbols/AV.Cloud.html">AV.Cloud</a></li>
  168. <li><a href="../symbols/AV.Cloud.AfterSaveRequest.html">AV.Cloud.AfterSaveRequest</a></li>
  169. <li><a href="../symbols/AV.Cloud.AfterUpdateRequest.html">AV.Cloud.AfterUpdateRequest</a></li>
  170. <li><a href="../symbols/AV.Cloud.BeforeDeleteRequest.html">AV.Cloud.BeforeDeleteRequest</a></li>
  171. <li><a href="../symbols/AV.Cloud.BeforeDeleteResponse.html">AV.Cloud.BeforeDeleteResponse</a></li>
  172. <li><a href="../symbols/AV.Cloud.BeforeSaveRequest.html">AV.Cloud.BeforeSaveRequest</a></li>
  173. <li><a href="../symbols/AV.Cloud.BeforeSaveResponse.html">AV.Cloud.BeforeSaveResponse</a></li>
  174. <li><a href="../symbols/AV.Cloud.FunctionRequest.html">AV.Cloud.FunctionRequest</a></li>
  175. <li><a href="../symbols/AV.Cloud.FunctionResponse.html">AV.Cloud.FunctionResponse</a></li>
  176. <li><a href="../symbols/AV.Collection.html">AV.Collection</a></li>
  177. <li><a href="../symbols/AV.Error.html">AV.Error</a></li>
  178. <li><a href="../symbols/AV.Events.html">AV.Events</a></li>
  179. <li><a href="../symbols/AV.FacebookUtils.html">AV.FacebookUtils</a></li>
  180. <li><a href="../symbols/AV.File.html">AV.File</a></li>
  181. <li><a href="../symbols/AV.GeoPoint.html">AV.GeoPoint</a></li>
  182. <li><a href="../symbols/AV.History.html">AV.History</a></li>
  183. <li><a href="../symbols/AV.InboxQuery.html">AV.InboxQuery</a></li>
  184. <li><a href="../symbols/AV.Object.html">AV.Object</a></li>
  185. <li><a href="../symbols/AV.Op.html">AV.Op</a></li>
  186. <li><a href="../symbols/AV.Op.Add.html">AV.Op.Add</a></li>
  187. <li><a href="../symbols/AV.Op.AddUnique.html">AV.Op.AddUnique</a></li>
  188. <li><a href="../symbols/AV.Op.Increment.html">AV.Op.Increment</a></li>
  189. <li><a href="../symbols/AV.Op.Relation.html">AV.Op.Relation</a></li>
  190. <li><a href="../symbols/AV.Op.Remove.html">AV.Op.Remove</a></li>
  191. <li><a href="../symbols/AV.Op.Set.html">AV.Op.Set</a></li>
  192. <li><a href="../symbols/AV.Op.Unset.html">AV.Op.Unset</a></li>
  193. <li><a href="../symbols/AV.Promise.html">AV.Promise</a></li>
  194. <li><a href="../symbols/AV.Push.html">AV.Push</a></li>
  195. <li><a href="../symbols/AV.Query.html">AV.Query</a></li>
  196. <li><a href="../symbols/AV.Relation.html">AV.Relation</a></li>
  197. <li><a href="../symbols/AV.Role.html">AV.Role</a></li>
  198. <li><a href="../symbols/AV.Router.html">AV.Router</a></li>
  199. <li><a href="../symbols/AV.SearchQuery.html">AV.SearchQuery</a></li>
  200. <li><a href="../symbols/AV.SearchSortBuilder.html">AV.SearchSortBuilder</a></li>
  201. <li><a href="../symbols/AV.Status.html">AV.Status</a></li>
  202. <li><a href="../symbols/AV.User.html">AV.User</a></li>
  203. <li><a href="../symbols/AV.View.html">AV.View</a></li>
  204. <li><a href="../symbols/avosExpressCookieSession.html">avosExpressCookieSession</a></li>
  205. <li><a href="../symbols/avosExpressHttpsRedirect.html">avosExpressHttpsRedirect</a></li>
  206. </ul>
  207. <hr />
  208. <!-- end publish.classesIndex -->
  209. </div>
  210. <div id="content">
  211. <!-- ============================== class title ============================ -->
  212. <h1 class="classTitle">
  213. Class AV.Error
  214. </h1>
  215. <!-- ============================== class summary ========================== -->
  216. <p class="description">
  217. <p>Class used for all objects passed to error callbacks.</p>
  218. <br /><i>Defined in: </i> <a href="../symbols/src/dist_av.js.html">av.js</a>.
  219. </p>
  220. <!-- ============================== constructor summary ==================== -->
  221. <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class AV.Error.">
  222. <caption>Class Summary</caption>
  223. <thead>
  224. <tr>
  225. <th scope="col">Constructor Attributes</th>
  226. <th scope="col">Constructor Name and Description</th>
  227. </tr>
  228. </thead>
  229. <tbody>
  230. <tr>
  231. <td class="attributes">&nbsp;</td>
  232. <td class="nameDescription" >
  233. <div class="fixedFont">
  234. <b><a href="../symbols/AV.Error.html#constructor">AV.Error</a></b>(code, message)
  235. </div>
  236. <div class="description">Constructs a new AV.Error object with the given code and message.</div>
  237. </td>
  238. </tr>
  239. </tbody>
  240. </table>
  241. <!-- ============================== properties summary ===================== -->
  242. <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class AV.Error.">
  243. <caption>Field Summary</caption>
  244. <thead>
  245. <tr>
  246. <th scope="col">Field Attributes</th>
  247. <th scope="col">Field Name and Description</th>
  248. </tr>
  249. </thead>
  250. <tbody>
  251. <tr>
  252. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  253. <td class="nameDescription">
  254. <div class="fixedFont">
  255. AV.Error.<b><a href="../symbols/AV.Error.html#.ACCOUNT_ALREADY_LINKED">ACCOUNT_ALREADY_LINKED</a></b>
  256. </div>
  257. <div class="description">Error code indicating that an an account being linked is already linked
  258. to another user.</div>
  259. </td>
  260. </tr>
  261. <tr>
  262. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  263. <td class="nameDescription">
  264. <div class="fixedFont">
  265. AV.Error.<b><a href="../symbols/AV.Error.html#.CACHE_MISS">CACHE_MISS</a></b>
  266. </div>
  267. <div class="description">Error code indicating the result was not found in the cache.</div>
  268. </td>
  269. </tr>
  270. <tr>
  271. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  272. <td class="nameDescription">
  273. <div class="fixedFont">
  274. AV.Error.<b><a href="../symbols/AV.Error.html#.COMMAND_UNAVAILABLE">COMMAND_UNAVAILABLE</a></b>
  275. </div>
  276. <div class="description">Error code indicating that the feature you tried to access is only
  277. available internally for testing purposes.</div>
  278. </td>
  279. </tr>
  280. <tr>
  281. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  282. <td class="nameDescription">
  283. <div class="fixedFont">
  284. AV.Error.<b><a href="../symbols/AV.Error.html#.CONNECTION_FAILED">CONNECTION_FAILED</a></b>
  285. </div>
  286. <div class="description">Error code indicating the connection to the AV servers failed.</div>
  287. </td>
  288. </tr>
  289. <tr>
  290. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  291. <td class="nameDescription">
  292. <div class="fixedFont">
  293. AV.Error.<b><a href="../symbols/AV.Error.html#.DUPLICATE_VALUE">DUPLICATE_VALUE</a></b>
  294. </div>
  295. <div class="description">Error code indicating that a unique field was given a value that is
  296. already taken.</div>
  297. </td>
  298. </tr>
  299. <tr>
  300. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  301. <td class="nameDescription">
  302. <div class="fixedFont">
  303. AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_MISSING">EMAIL_MISSING</a></b>
  304. </div>
  305. <div class="description">Error code indicating that the email is missing, but must be specified.</div>
  306. </td>
  307. </tr>
  308. <tr>
  309. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  310. <td class="nameDescription">
  311. <div class="fixedFont">
  312. AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_NOT_FOUND">EMAIL_NOT_FOUND</a></b>
  313. </div>
  314. <div class="description">Error code indicating that a user with the specified email was not found.</div>
  315. </td>
  316. </tr>
  317. <tr>
  318. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  319. <td class="nameDescription">
  320. <div class="fixedFont">
  321. AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_TAKEN">EMAIL_TAKEN</a></b>
  322. </div>
  323. <div class="description">Error code indicating that the email has already been taken.</div>
  324. </td>
  325. </tr>
  326. <tr>
  327. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  328. <td class="nameDescription">
  329. <div class="fixedFont">
  330. AV.Error.<b><a href="../symbols/AV.Error.html#.EXCEEDED_QUOTA">EXCEEDED_QUOTA</a></b>
  331. </div>
  332. <div class="description">Error code indicating that an application quota was exceeded.</div>
  333. </td>
  334. </tr>
  335. <tr>
  336. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  337. <td class="nameDescription">
  338. <div class="fixedFont">
  339. AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_DELETE_ERROR">FILE_DELETE_ERROR</a></b>
  340. </div>
  341. <div class="description">Error code indicating an error deleting a file.</div>
  342. </td>
  343. </tr>
  344. <tr>
  345. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  346. <td class="nameDescription">
  347. <div class="fixedFont">
  348. AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_SAVE_ERROR">FILE_SAVE_ERROR</a></b>
  349. </div>
  350. <div class="description">Error code indicating an error saving a file.</div>
  351. </td>
  352. </tr>
  353. <tr>
  354. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  355. <td class="nameDescription">
  356. <div class="fixedFont">
  357. AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_TOO_LARGE">FILE_TOO_LARGE</a></b>
  358. </div>
  359. <div class="description">Error code indicating a file that was too large.</div>
  360. </td>
  361. </tr>
  362. <tr>
  363. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  364. <td class="nameDescription">
  365. <div class="fixedFont">
  366. AV.Error.<b><a href="../symbols/AV.Error.html#.INCORRECT_TYPE">INCORRECT_TYPE</a></b>
  367. </div>
  368. <div class="description">Error code indicating that a field was set to an inconsistent type.</div>
  369. </td>
  370. </tr>
  371. <tr>
  372. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  373. <td class="nameDescription">
  374. <div class="fixedFont">
  375. AV.Error.<b><a href="../symbols/AV.Error.html#.INTERNAL_SERVER_ERROR">INTERNAL_SERVER_ERROR</a></b>
  376. </div>
  377. <div class="description">Error code indicating that something has gone wrong with the server.</div>
  378. </td>
  379. </tr>
  380. <tr>
  381. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  382. <td class="nameDescription">
  383. <div class="fixedFont">
  384. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ACL">INVALID_ACL</a></b>
  385. </div>
  386. <div class="description">Error code indicating an invalid ACL was provided.</div>
  387. </td>
  388. </tr>
  389. <tr>
  390. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  391. <td class="nameDescription">
  392. <div class="fixedFont">
  393. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CHANNEL_NAME">INVALID_CHANNEL_NAME</a></b>
  394. </div>
  395. <div class="description">Error code indicating an invalid channel name.</div>
  396. </td>
  397. </tr>
  398. <tr>
  399. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  400. <td class="nameDescription">
  401. <div class="fixedFont">
  402. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CLASS_NAME">INVALID_CLASS_NAME</a></b>
  403. </div>
  404. <div class="description">Error code indicating a missing or invalid classname.</div>
  405. </td>
  406. </tr>
  407. <tr>
  408. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  409. <td class="nameDescription">
  410. <div class="fixedFont">
  411. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CONTENT_LENGTH">INVALID_CONTENT_LENGTH</a></b>
  412. </div>
  413. <div class="description">Error code indicating an invalid content length.</div>
  414. </td>
  415. </tr>
  416. <tr>
  417. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  418. <td class="nameDescription">
  419. <div class="fixedFont">
  420. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_EMAIL_ADDRESS">INVALID_EMAIL_ADDRESS</a></b>
  421. </div>
  422. <div class="description">Error code indicating that the email address was invalid.</div>
  423. </td>
  424. </tr>
  425. <tr>
  426. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  427. <td class="nameDescription">
  428. <div class="fixedFont">
  429. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_FILE_NAME">INVALID_FILE_NAME</a></b>
  430. </div>
  431. <div class="description">Error code indicating that an invalid filename was used for AVFile.</div>
  432. </td>
  433. </tr>
  434. <tr>
  435. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  436. <td class="nameDescription">
  437. <div class="fixedFont">
  438. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_IMAGE_DATA">INVALID_IMAGE_DATA</a></b>
  439. </div>
  440. <div class="description">Error code indicating that invalid image data was provided.</div>
  441. </td>
  442. </tr>
  443. <tr>
  444. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  445. <td class="nameDescription">
  446. <div class="fixedFont">
  447. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_JSON">INVALID_JSON</a></b>
  448. </div>
  449. <div class="description">Error code indicating that badly formed JSON was received upstream.</div>
  450. </td>
  451. </tr>
  452. <tr>
  453. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  454. <td class="nameDescription">
  455. <div class="fixedFont">
  456. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_KEY_NAME">INVALID_KEY_NAME</a></b>
  457. </div>
  458. <div class="description">Error code indicating an invalid key name.</div>
  459. </td>
  460. </tr>
  461. <tr>
  462. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  463. <td class="nameDescription">
  464. <div class="fixedFont">
  465. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_LINKED_SESSION">INVALID_LINKED_SESSION</a></b>
  466. </div>
  467. <div class="description">Error code indicating that a user with a linked (e.g.</div>
  468. </td>
  469. </tr>
  470. <tr>
  471. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  472. <td class="nameDescription">
  473. <div class="fixedFont">
  474. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_NESTED_KEY">INVALID_NESTED_KEY</a></b>
  475. </div>
  476. <div class="description">Error code indicating that an invalid key was used in a nested
  477. JSONObject.</div>
  478. </td>
  479. </tr>
  480. <tr>
  481. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  482. <td class="nameDescription">
  483. <div class="fixedFont">
  484. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_POINTER">INVALID_POINTER</a></b>
  485. </div>
  486. <div class="description">Error code indicating a malformed pointer.</div>
  487. </td>
  488. </tr>
  489. <tr>
  490. <td class="attributes">&lt;static&gt; &nbsp;</td>
  491. <td class="nameDescription">
  492. <div class="fixedFont">
  493. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_PUSH_TIME_ERROR">INVALID_PUSH_TIME_ERROR</a></b>
  494. </div>
  495. <div class="description">Error code indicating an invalid push time.</div>
  496. </td>
  497. </tr>
  498. <tr>
  499. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  500. <td class="nameDescription">
  501. <div class="fixedFont">
  502. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_QUERY">INVALID_QUERY</a></b>
  503. </div>
  504. <div class="description">Error code indicating you tried to query with a datatype that doesn't
  505. support it, like exact matching an array or object.</div>
  506. </td>
  507. </tr>
  508. <tr>
  509. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  510. <td class="nameDescription">
  511. <div class="fixedFont">
  512. AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ROLE_NAME">INVALID_ROLE_NAME</a></b>
  513. </div>
  514. <div class="description">Error code indicating that a role's name is invalid.</div>
  515. </td>
  516. </tr>
  517. <tr>
  518. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  519. <td class="nameDescription">
  520. <div class="fixedFont">
  521. AV.Error.<b><a href="../symbols/AV.Error.html#.LINKED_ID_MISSING">LINKED_ID_MISSING</a></b>
  522. </div>
  523. <div class="description">Error code indicating that a user cannot be linked to an account because
  524. that account's id could not be found.</div>
  525. </td>
  526. </tr>
  527. <tr>
  528. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  529. <td class="nameDescription">
  530. <div class="fixedFont">
  531. AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_CONTENT_LENGTH">MISSING_CONTENT_LENGTH</a></b>
  532. </div>
  533. <div class="description">Error code indicating a missing content length.</div>
  534. </td>
  535. </tr>
  536. <tr>
  537. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  538. <td class="nameDescription">
  539. <div class="fixedFont">
  540. AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_CONTENT_TYPE">MISSING_CONTENT_TYPE</a></b>
  541. </div>
  542. <div class="description">Error code indicating a missing content type.</div>
  543. </td>
  544. </tr>
  545. <tr>
  546. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  547. <td class="nameDescription">
  548. <div class="fixedFont">
  549. AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_OBJECT_ID">MISSING_OBJECT_ID</a></b>
  550. </div>
  551. <div class="description">Error code indicating an unspecified object id.</div>
  552. </td>
  553. </tr>
  554. <tr>
  555. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  556. <td class="nameDescription">
  557. <div class="fixedFont">
  558. AV.Error.<b><a href="../symbols/AV.Error.html#.MUST_CREATE_USER_THROUGH_SIGNUP">MUST_CREATE_USER_THROUGH_SIGNUP</a></b>
  559. </div>
  560. <div class="description">Error code indicating that a user can only be created through signup.</div>
  561. </td>
  562. </tr>
  563. <tr>
  564. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  565. <td class="nameDescription">
  566. <div class="fixedFont">
  567. AV.Error.<b><a href="../symbols/AV.Error.html#.NOT_INITIALIZED">NOT_INITIALIZED</a></b>
  568. </div>
  569. <div class="description">You must call AV.initialize before using the AV library.</div>
  570. </td>
  571. </tr>
  572. <tr>
  573. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  574. <td class="nameDescription">
  575. <div class="fixedFont">
  576. AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_NOT_FOUND">OBJECT_NOT_FOUND</a></b>
  577. </div>
  578. <div class="description">Error code indicating the specified object doesn't exist.</div>
  579. </td>
  580. </tr>
  581. <tr>
  582. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  583. <td class="nameDescription">
  584. <div class="fixedFont">
  585. AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_TOO_LARGE">OBJECT_TOO_LARGE</a></b>
  586. </div>
  587. <div class="description">Error code indicating that the object is too large.</div>
  588. </td>
  589. </tr>
  590. <tr>
  591. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  592. <td class="nameDescription">
  593. <div class="fixedFont">
  594. AV.Error.<b><a href="../symbols/AV.Error.html#.OPERATION_FORBIDDEN">OPERATION_FORBIDDEN</a></b>
  595. </div>
  596. <div class="description">Error code indicating that the operation isn't allowed for clients.</div>
  597. </td>
  598. </tr>
  599. <tr>
  600. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  601. <td class="nameDescription">
  602. <div class="fixedFont">
  603. AV.Error.<b><a href="../symbols/AV.Error.html#.OTHER_CAUSE">OTHER_CAUSE</a></b>
  604. </div>
  605. <div class="description">Error code indicating some error other than those enumerated here.</div>
  606. </td>
  607. </tr>
  608. <tr>
  609. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  610. <td class="nameDescription">
  611. <div class="fixedFont">
  612. AV.Error.<b><a href="../symbols/AV.Error.html#.PASSWORD_MISSING">PASSWORD_MISSING</a></b>
  613. </div>
  614. <div class="description">Error code indicating that the password is missing or empty.</div>
  615. </td>
  616. </tr>
  617. <tr>
  618. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  619. <td class="nameDescription">
  620. <div class="fixedFont">
  621. AV.Error.<b><a href="../symbols/AV.Error.html#.PUSH_MISCONFIGURED">PUSH_MISCONFIGURED</a></b>
  622. </div>
  623. <div class="description">Error code indicating that push is misconfigured.</div>
  624. </td>
  625. </tr>
  626. <tr>
  627. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  628. <td class="nameDescription">
  629. <div class="fixedFont">
  630. AV.Error.<b><a href="../symbols/AV.Error.html#.SCRIPT_FAILED">SCRIPT_FAILED</a></b>
  631. </div>
  632. <div class="description">Error code indicating that a Cloud Code script failed.</div>
  633. </td>
  634. </tr>
  635. <tr>
  636. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  637. <td class="nameDescription">
  638. <div class="fixedFont">
  639. AV.Error.<b><a href="../symbols/AV.Error.html#.SESSION_MISSING">SESSION_MISSING</a></b>
  640. </div>
  641. <div class="description">Error code indicating that a user object without a valid session could
  642. not be altered.</div>
  643. </td>
  644. </tr>
  645. <tr>
  646. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  647. <td class="nameDescription">
  648. <div class="fixedFont">
  649. AV.Error.<b><a href="../symbols/AV.Error.html#.TIMEOUT">TIMEOUT</a></b>
  650. </div>
  651. <div class="description">Error code indicating that the request timed out on the server.</div>
  652. </td>
  653. </tr>
  654. <tr>
  655. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  656. <td class="nameDescription">
  657. <div class="fixedFont">
  658. AV.Error.<b><a href="../symbols/AV.Error.html#.UNSAVED_FILE_ERROR">UNSAVED_FILE_ERROR</a></b>
  659. </div>
  660. <div class="description">Error code indicating an unsaved file.</div>
  661. </td>
  662. </tr>
  663. <tr>
  664. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  665. <td class="nameDescription">
  666. <div class="fixedFont">
  667. AV.Error.<b><a href="../symbols/AV.Error.html#.UNSUPPORTED_SERVICE">UNSUPPORTED_SERVICE</a></b>
  668. </div>
  669. <div class="description">Error code indicating that a service being linked (e.g.</div>
  670. </td>
  671. </tr>
  672. <tr>
  673. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  674. <td class="nameDescription">
  675. <div class="fixedFont">
  676. AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_MISSING">USERNAME_MISSING</a></b>
  677. </div>
  678. <div class="description">Error code indicating that the username is missing or empty.</div>
  679. </td>
  680. </tr>
  681. <tr>
  682. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  683. <td class="nameDescription">
  684. <div class="fixedFont">
  685. AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_TAKEN">USERNAME_TAKEN</a></b>
  686. </div>
  687. <div class="description">Error code indicating that the username has already been taken.</div>
  688. </td>
  689. </tr>
  690. <tr>
  691. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  692. <td class="nameDescription">
  693. <div class="fixedFont">
  694. AV.Error.<b><a href="../symbols/AV.Error.html#.VALIDATION_ERROR">VALIDATION_ERROR</a></b>
  695. </div>
  696. <div class="description">Error code indicating that a Cloud Code validation failed.</div>
  697. </td>
  698. </tr>
  699. <tr>
  700. <td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
  701. <td class="nameDescription">
  702. <div class="fixedFont">
  703. AV.Error.<b><a href="../symbols/AV.Error.html#.X_DOMAIN_REQUEST">X_DOMAIN_REQUEST</a></b>
  704. </div>
  705. <div class="description">Error code indicating a real error code is unavailable because
  706. we had to use an XDomainRequest object to allow CORS requests in
  707. Internet Explorer, which strips the body from HTTP responses that have
  708. a non-2XX status code.</div>
  709. </td>
  710. </tr>
  711. </tbody>
  712. </table>
  713. <!-- ============================== methods summary ======================== -->
  714. <!-- ============================== events summary ======================== -->
  715. <!-- ============================== constructor details ==================== -->
  716. <div class="details"><a name="constructor"> </a>
  717. <div class="sectionTitle">
  718. Class Detail
  719. </div>
  720. <div class="fixedFont">
  721. <b>AV.Error</b>(code, message)
  722. </div>
  723. <div class="description">
  724. Constructs a new AV.Error object with the given code and message.
  725. </div>
  726. <dl class="detailList">
  727. <dt class="heading">Parameters:</dt>
  728. <dt>
  729. <span class="light fixedFont">{Number}</span> <b>code</b>
  730. </dt>
  731. <dd>An error code constant from <code>AV.Error</code>.</dd>
  732. <dt>
  733. <span class="light fixedFont">{String}</span> <b>message</b>
  734. </dt>
  735. <dd>A detailed description of the error.</dd>
  736. </dl>
  737. </div>
  738. <!-- ============================== field details ========================== -->
  739. <div class="sectionTitle">
  740. Field Detail
  741. </div>
  742. <a name=".ACCOUNT_ALREADY_LINKED"> </a>
  743. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  744. <span class="light">AV.Error.</span><b>ACCOUNT_ALREADY_LINKED</b>
  745. </div>
  746. <div class="description">
  747. Error code indicating that an an account being linked is already linked
  748. to another user.
  749. </div>
  750. <hr />
  751. <a name=".CACHE_MISS"> </a>
  752. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  753. <span class="light">AV.Error.</span><b>CACHE_MISS</b>
  754. </div>
  755. <div class="description">
  756. Error code indicating the result was not found in the cache.
  757. </div>
  758. <hr />
  759. <a name=".COMMAND_UNAVAILABLE"> </a>
  760. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  761. <span class="light">AV.Error.</span><b>COMMAND_UNAVAILABLE</b>
  762. </div>
  763. <div class="description">
  764. Error code indicating that the feature you tried to access is only
  765. available internally for testing purposes.
  766. </div>
  767. <hr />
  768. <a name=".CONNECTION_FAILED"> </a>
  769. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  770. <span class="light">AV.Error.</span><b>CONNECTION_FAILED</b>
  771. </div>
  772. <div class="description">
  773. Error code indicating the connection to the AV servers failed.
  774. </div>
  775. <hr />
  776. <a name=".DUPLICATE_VALUE"> </a>
  777. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  778. <span class="light">AV.Error.</span><b>DUPLICATE_VALUE</b>
  779. </div>
  780. <div class="description">
  781. Error code indicating that a unique field was given a value that is
  782. already taken.
  783. </div>
  784. <hr />
  785. <a name=".EMAIL_MISSING"> </a>
  786. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  787. <span class="light">AV.Error.</span><b>EMAIL_MISSING</b>
  788. </div>
  789. <div class="description">
  790. Error code indicating that the email is missing, but must be specified.
  791. </div>
  792. <hr />
  793. <a name=".EMAIL_NOT_FOUND"> </a>
  794. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  795. <span class="light">AV.Error.</span><b>EMAIL_NOT_FOUND</b>
  796. </div>
  797. <div class="description">
  798. Error code indicating that a user with the specified email was not found.
  799. </div>
  800. <hr />
  801. <a name=".EMAIL_TAKEN"> </a>
  802. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  803. <span class="light">AV.Error.</span><b>EMAIL_TAKEN</b>
  804. </div>
  805. <div class="description">
  806. Error code indicating that the email has already been taken.
  807. </div>
  808. <hr />
  809. <a name=".EXCEEDED_QUOTA"> </a>
  810. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  811. <span class="light">AV.Error.</span><b>EXCEEDED_QUOTA</b>
  812. </div>
  813. <div class="description">
  814. Error code indicating that an application quota was exceeded. Upgrade to
  815. resolve.
  816. </div>
  817. <hr />
  818. <a name=".FILE_DELETE_ERROR"> </a>
  819. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  820. <span class="light">AV.Error.</span><b>FILE_DELETE_ERROR</b>
  821. </div>
  822. <div class="description">
  823. Error code indicating an error deleting a file.
  824. </div>
  825. <hr />
  826. <a name=".FILE_SAVE_ERROR"> </a>
  827. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  828. <span class="light">AV.Error.</span><b>FILE_SAVE_ERROR</b>
  829. </div>
  830. <div class="description">
  831. Error code indicating an error saving a file.
  832. </div>
  833. <hr />
  834. <a name=".FILE_TOO_LARGE"> </a>
  835. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  836. <span class="light">AV.Error.</span><b>FILE_TOO_LARGE</b>
  837. </div>
  838. <div class="description">
  839. Error code indicating a file that was too large.
  840. </div>
  841. <hr />
  842. <a name=".INCORRECT_TYPE"> </a>
  843. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  844. <span class="light">AV.Error.</span><b>INCORRECT_TYPE</b>
  845. </div>
  846. <div class="description">
  847. Error code indicating that a field was set to an inconsistent type.
  848. </div>
  849. <hr />
  850. <a name=".INTERNAL_SERVER_ERROR"> </a>
  851. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  852. <span class="light">AV.Error.</span><b>INTERNAL_SERVER_ERROR</b>
  853. </div>
  854. <div class="description">
  855. Error code indicating that something has gone wrong with the server.
  856. If you get this error code, it is AV's fault. Contact us at
  857. https://avoscloud.com/help
  858. </div>
  859. <hr />
  860. <a name=".INVALID_ACL"> </a>
  861. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  862. <span class="light">AV.Error.</span><b>INVALID_ACL</b>
  863. </div>
  864. <div class="description">
  865. Error code indicating an invalid ACL was provided.
  866. </div>
  867. <hr />
  868. <a name=".INVALID_CHANNEL_NAME"> </a>
  869. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  870. <span class="light">AV.Error.</span><b>INVALID_CHANNEL_NAME</b>
  871. </div>
  872. <div class="description">
  873. Error code indicating an invalid channel name. A channel name is either
  874. an empty string (the broadcast channel) or contains only a-zA-Z0-9_
  875. characters and starts with a letter.
  876. </div>
  877. <hr />
  878. <a name=".INVALID_CLASS_NAME"> </a>
  879. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  880. <span class="light">AV.Error.</span><b>INVALID_CLASS_NAME</b>
  881. </div>
  882. <div class="description">
  883. Error code indicating a missing or invalid classname. Classnames are
  884. case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the
  885. only valid characters.
  886. </div>
  887. <hr />
  888. <a name=".INVALID_CONTENT_LENGTH"> </a>
  889. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  890. <span class="light">AV.Error.</span><b>INVALID_CONTENT_LENGTH</b>
  891. </div>
  892. <div class="description">
  893. Error code indicating an invalid content length.
  894. </div>
  895. <hr />
  896. <a name=".INVALID_EMAIL_ADDRESS"> </a>
  897. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  898. <span class="light">AV.Error.</span><b>INVALID_EMAIL_ADDRESS</b>
  899. </div>
  900. <div class="description">
  901. Error code indicating that the email address was invalid.
  902. </div>
  903. <hr />
  904. <a name=".INVALID_FILE_NAME"> </a>
  905. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  906. <span class="light">AV.Error.</span><b>INVALID_FILE_NAME</b>
  907. </div>
  908. <div class="description">
  909. Error code indicating that an invalid filename was used for AVFile.
  910. A valid file name contains only a-zA-Z0-9_. characters and is between 1
  911. and 128 characters.
  912. </div>
  913. <hr />
  914. <a name=".INVALID_IMAGE_DATA"> </a>
  915. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  916. <span class="light">AV.Error.</span><b>INVALID_IMAGE_DATA</b>
  917. </div>
  918. <div class="description">
  919. Error code indicating that invalid image data was provided.
  920. </div>
  921. <hr />
  922. <a name=".INVALID_JSON"> </a>
  923. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  924. <span class="light">AV.Error.</span><b>INVALID_JSON</b>
  925. </div>
  926. <div class="description">
  927. Error code indicating that badly formed JSON was received upstream. This
  928. either indicates you have done something unusual with modifying how
  929. things encode to JSON, or the network is failing badly.
  930. </div>
  931. <hr />
  932. <a name=".INVALID_KEY_NAME"> </a>
  933. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  934. <span class="light">AV.Error.</span><b>INVALID_KEY_NAME</b>
  935. </div>
  936. <div class="description">
  937. Error code indicating an invalid key name. Keys are case-sensitive. They
  938. must start with a letter, and a-zA-Z0-9_ are the only valid characters.
  939. </div>
  940. <hr />
  941. <a name=".INVALID_LINKED_SESSION"> </a>
  942. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  943. <span class="light">AV.Error.</span><b>INVALID_LINKED_SESSION</b>
  944. </div>
  945. <div class="description">
  946. Error code indicating that a user with a linked (e.g. Facebook) account
  947. has an invalid session.
  948. </div>
  949. <hr />
  950. <a name=".INVALID_NESTED_KEY"> </a>
  951. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  952. <span class="light">AV.Error.</span><b>INVALID_NESTED_KEY</b>
  953. </div>
  954. <div class="description">
  955. Error code indicating that an invalid key was used in a nested
  956. JSONObject.
  957. </div>
  958. <hr />
  959. <a name=".INVALID_POINTER"> </a>
  960. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  961. <span class="light">AV.Error.</span><b>INVALID_POINTER</b>
  962. </div>
  963. <div class="description">
  964. Error code indicating a malformed pointer. You should not see this unless
  965. you have been mucking about changing internal AV code.
  966. </div>
  967. <hr />
  968. <a name=".INVALID_PUSH_TIME_ERROR"> </a>
  969. <div class="fixedFont">&lt;static&gt;
  970. <span class="light">AV.Error.</span><b>INVALID_PUSH_TIME_ERROR</b>
  971. </div>
  972. <div class="description">
  973. Error code indicating an invalid push time.
  974. </div>
  975. <hr />
  976. <a name=".INVALID_QUERY"> </a>
  977. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  978. <span class="light">AV.Error.</span><b>INVALID_QUERY</b>
  979. </div>
  980. <div class="description">
  981. Error code indicating you tried to query with a datatype that doesn't
  982. support it, like exact matching an array or object.
  983. </div>
  984. <hr />
  985. <a name=".INVALID_ROLE_NAME"> </a>
  986. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  987. <span class="light">AV.Error.</span><b>INVALID_ROLE_NAME</b>
  988. </div>
  989. <div class="description">
  990. Error code indicating that a role's name is invalid.
  991. </div>
  992. <hr />
  993. <a name=".LINKED_ID_MISSING"> </a>
  994. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  995. <span class="light">AV.Error.</span><b>LINKED_ID_MISSING</b>
  996. </div>
  997. <div class="description">
  998. Error code indicating that a user cannot be linked to an account because
  999. that account's id could not be found.
  1000. </div>
  1001. <hr />
  1002. <a name=".MISSING_CONTENT_LENGTH"> </a>
  1003. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1004. <span class="light">AV.Error.</span><b>MISSING_CONTENT_LENGTH</b>
  1005. </div>
  1006. <div class="description">
  1007. Error code indicating a missing content length.
  1008. </div>
  1009. <hr />
  1010. <a name=".MISSING_CONTENT_TYPE"> </a>
  1011. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1012. <span class="light">AV.Error.</span><b>MISSING_CONTENT_TYPE</b>
  1013. </div>
  1014. <div class="description">
  1015. Error code indicating a missing content type.
  1016. </div>
  1017. <hr />
  1018. <a name=".MISSING_OBJECT_ID"> </a>
  1019. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1020. <span class="light">AV.Error.</span><b>MISSING_OBJECT_ID</b>
  1021. </div>
  1022. <div class="description">
  1023. Error code indicating an unspecified object id.
  1024. </div>
  1025. <hr />
  1026. <a name=".MUST_CREATE_USER_THROUGH_SIGNUP"> </a>
  1027. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1028. <span class="light">AV.Error.</span><b>MUST_CREATE_USER_THROUGH_SIGNUP</b>
  1029. </div>
  1030. <div class="description">
  1031. Error code indicating that a user can only be created through signup.
  1032. </div>
  1033. <hr />
  1034. <a name=".NOT_INITIALIZED"> </a>
  1035. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1036. <span class="light">AV.Error.</span><b>NOT_INITIALIZED</b>
  1037. </div>
  1038. <div class="description">
  1039. You must call AV.initialize before using the AV library.
  1040. </div>
  1041. <hr />
  1042. <a name=".OBJECT_NOT_FOUND"> </a>
  1043. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1044. <span class="light">AV.Error.</span><b>OBJECT_NOT_FOUND</b>
  1045. </div>
  1046. <div class="description">
  1047. Error code indicating the specified object doesn't exist.
  1048. </div>
  1049. <hr />
  1050. <a name=".OBJECT_TOO_LARGE"> </a>
  1051. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1052. <span class="light">AV.Error.</span><b>OBJECT_TOO_LARGE</b>
  1053. </div>
  1054. <div class="description">
  1055. Error code indicating that the object is too large.
  1056. </div>
  1057. <hr />
  1058. <a name=".OPERATION_FORBIDDEN"> </a>
  1059. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1060. <span class="light">AV.Error.</span><b>OPERATION_FORBIDDEN</b>
  1061. </div>
  1062. <div class="description">
  1063. Error code indicating that the operation isn't allowed for clients.
  1064. </div>
  1065. <hr />
  1066. <a name=".OTHER_CAUSE"> </a>
  1067. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1068. <span class="light">AV.Error.</span><b>OTHER_CAUSE</b>
  1069. </div>
  1070. <div class="description">
  1071. Error code indicating some error other than those enumerated here.
  1072. </div>
  1073. <hr />
  1074. <a name=".PASSWORD_MISSING"> </a>
  1075. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1076. <span class="light">AV.Error.</span><b>PASSWORD_MISSING</b>
  1077. </div>
  1078. <div class="description">
  1079. Error code indicating that the password is missing or empty.
  1080. </div>
  1081. <hr />
  1082. <a name=".PUSH_MISCONFIGURED"> </a>
  1083. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1084. <span class="light">AV.Error.</span><b>PUSH_MISCONFIGURED</b>
  1085. </div>
  1086. <div class="description">
  1087. Error code indicating that push is misconfigured.
  1088. </div>
  1089. <hr />
  1090. <a name=".SCRIPT_FAILED"> </a>
  1091. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1092. <span class="light">AV.Error.</span><b>SCRIPT_FAILED</b>
  1093. </div>
  1094. <div class="description">
  1095. Error code indicating that a Cloud Code script failed.
  1096. </div>
  1097. <hr />
  1098. <a name=".SESSION_MISSING"> </a>
  1099. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1100. <span class="light">AV.Error.</span><b>SESSION_MISSING</b>
  1101. </div>
  1102. <div class="description">
  1103. Error code indicating that a user object without a valid session could
  1104. not be altered.
  1105. </div>
  1106. <hr />
  1107. <a name=".TIMEOUT"> </a>
  1108. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1109. <span class="light">AV.Error.</span><b>TIMEOUT</b>
  1110. </div>
  1111. <div class="description">
  1112. Error code indicating that the request timed out on the server. Typically
  1113. this indicates that the request is too expensive to run.
  1114. </div>
  1115. <hr />
  1116. <a name=".UNSAVED_FILE_ERROR"> </a>
  1117. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1118. <span class="light">AV.Error.</span><b>UNSAVED_FILE_ERROR</b>
  1119. </div>
  1120. <div class="description">
  1121. Error code indicating an unsaved file.
  1122. </div>
  1123. <hr />
  1124. <a name=".UNSUPPORTED_SERVICE"> </a>
  1125. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1126. <span class="light">AV.Error.</span><b>UNSUPPORTED_SERVICE</b>
  1127. </div>
  1128. <div class="description">
  1129. Error code indicating that a service being linked (e.g. Facebook or
  1130. Twitter) is unsupported.
  1131. </div>
  1132. <hr />
  1133. <a name=".USERNAME_MISSING"> </a>
  1134. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1135. <span class="light">AV.Error.</span><b>USERNAME_MISSING</b>
  1136. </div>
  1137. <div class="description">
  1138. Error code indicating that the username is missing or empty.
  1139. </div>
  1140. <hr />
  1141. <a name=".USERNAME_TAKEN"> </a>
  1142. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1143. <span class="light">AV.Error.</span><b>USERNAME_TAKEN</b>
  1144. </div>
  1145. <div class="description">
  1146. Error code indicating that the username has already been taken.
  1147. </div>
  1148. <hr />
  1149. <a name=".VALIDATION_ERROR"> </a>
  1150. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1151. <span class="light">AV.Error.</span><b>VALIDATION_ERROR</b>
  1152. </div>
  1153. <div class="description">
  1154. Error code indicating that a Cloud Code validation failed.
  1155. </div>
  1156. <hr />
  1157. <a name=".X_DOMAIN_REQUEST"> </a>
  1158. <div class="fixedFont">&lt;static&gt; &lt;constant&gt;
  1159. <span class="light">AV.Error.</span><b>X_DOMAIN_REQUEST</b>
  1160. </div>
  1161. <div class="description">
  1162. Error code indicating a real error code is unavailable because
  1163. we had to use an XDomainRequest object to allow CORS requests in
  1164. Internet Explorer, which strips the body from HTTP responses that have
  1165. a non-2XX status code.
  1166. </div>
  1167. <!-- ============================== method details ========================= -->
  1168. <!-- ============================== event details ========================= -->
  1169. <hr />
  1170. </div>
  1171. <!-- ============================== footer ================================= -->
  1172. <div class="fineprint" style="clear:both">
  1173. Documentation generated by <a href="http://code.google.com/p/jsdoc-toolkit/" target="_blank">JsDoc Toolkit</a> 2.4.0 on Fri Mar 27 2015 15:29:51 GMT+0800 (CST)
  1174. </div>
  1175. </body>
  1176. </html>