PageRenderTime 176ms CodeModel.GetById 31ms app.highlight 88ms RepoModel.GetById 32ms 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		
   8		<title>JsDoc Reference - AV.Error</title>
   9
  10		<style type="text/css">
  11			/* default.css */
  12body
  13{
  14	font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
  15	width: 800px;
  16}
  17
  18.header
  19{
  20	clear: both;
  21	background-color: #ccc;
  22	padding: 8px;
  23}
  24
  25h1
  26{
  27	font-size: 150%;
  28	font-weight: bold;
  29	padding: 0;
  30	margin: 1em 0 0 .3em;
  31}
  32
  33hr
  34{
  35	border: none 0;
  36	border-top: 1px solid #7F8FB1;
  37	height: 1px;
  38}
  39
  40pre.code
  41{
  42	display: block;
  43	padding: 8px;
  44	border: 1px dashed #ccc;
  45}
  46
  47#index
  48{
  49	margin-top: 24px;
  50	float: left;
  51	width: 160px;
  52	position: absolute;
  53	left: 8px;
  54	background-color: #F3F3F3;
  55	padding: 8px;
  56}
  57
  58#content
  59{
  60	margin-left: 190px;
  61	width: 600px;
  62}
  63
  64.classList
  65{
  66	list-style-type: none;
  67	padding: 0;
  68	margin: 0 0 0 8px;
  69	font-family: arial, sans-serif;
  70	font-size: 1em;
  71	overflow: auto;
  72}
  73
  74.classList li
  75{
  76	padding: 0;
  77	margin: 0 0 8px 0;
  78}
  79
  80.summaryTable { width: 100%; }
  81
  82h1.classTitle
  83{
  84	font-size:170%;
  85	line-height:130%;
  86}
  87
  88h2 { font-size: 110%; }
  89caption, div.sectionTitle
  90{
  91	background-color: #7F8FB1;
  92	color: #fff;
  93	font-size:130%;
  94	text-align: left;
  95	padding: 2px 6px 2px 6px;
  96	border: 1px #7F8FB1 solid;
  97}
  98
  99div.sectionTitle { margin-bottom: 8px; }
 100.summaryTable thead { display: none; }
 101
 102.summaryTable td
 103{
 104	vertical-align: top;
 105	padding: 4px;
 106	border-bottom: 1px #7F8FB1 solid;
 107	border-right: 1px #7F8FB1 solid;
 108}
 109
 110/*col#summaryAttributes {}*/
 111.summaryTable td.attributes
 112{
 113	border-left: 1px #7F8FB1 solid;
 114	width: 140px;
 115	text-align: right;
 116}
 117
 118td.attributes, .fixedFont
 119{
 120	line-height: 15px;
 121	color: #002EBE;
 122	font-family: "Courier New",Courier,monospace;
 123	font-size: 13px;
 124}
 125
 126.summaryTable td.nameDescription
 127{
 128	text-align: left;
 129	font-size: 13px;
 130	line-height: 15px;
 131}
 132
 133.summaryTable td.nameDescription, .description
 134{
 135	line-height: 15px;
 136	padding: 4px;
 137	padding-left: 4px;
 138}
 139
 140.summaryTable { margin-bottom: 8px; }
 141
 142ul.inheritsList
 143{
 144	list-style: square;
 145	margin-left: 20px;
 146	padding-left: 0;
 147}
 148
 149.detailList {
 150	margin-left: 20px; 
 151	line-height: 15px;
 152}
 153.detailList dt { margin-left: 20px; }
 154
 155.detailList .heading
 156{
 157	font-weight: bold;
 158	padding-bottom: 6px;
 159	margin-left: 0;
 160}
 161
 162.light, td.attributes, .light a:link, .light a:visited
 163{
 164	color: #777;
 165	font-style: italic;
 166}
 167
 168.fineprint
 169{
 170	text-align: right;
 171	font-size: 10px;
 172}
 173		</style>
 174	</head>
 175
 176	<body>
 177<!-- ============================== header ================================= -->	
 178		<!-- begin static/header.html -->
 179		<div id="header">
 180</div>
 181		<!-- end static/header.html -->
 182
 183<!-- ============================== classes index ============================ -->
 184		<div id="index">
 185			<!-- begin publish.classesIndex -->
 186			<div align="center"><a href="../index.html">Class Index</a>
 187| <a href="../files.html">File Index</a></div>
 188<hr />
 189<h2>Classes</h2>
 190<ul class="classList">
 191	
 192	<li><i><a href="../symbols/_global_.html">_global_</a></i></li>
 193	
 194	<li><a href="../symbols/AV.html">AV</a></li>
 195	
 196	<li><a href="../symbols/AV.ACL.html">AV.ACL</a></li>
 197	
 198	<li><a href="../symbols/AV.Cloud.html">AV.Cloud</a></li>
 199	
 200	<li><a href="../symbols/AV.Cloud.AfterSaveRequest.html">AV.Cloud.AfterSaveRequest</a></li>
 201	
 202	<li><a href="../symbols/AV.Cloud.AfterUpdateRequest.html">AV.Cloud.AfterUpdateRequest</a></li>
 203	
 204	<li><a href="../symbols/AV.Cloud.BeforeDeleteRequest.html">AV.Cloud.BeforeDeleteRequest</a></li>
 205	
 206	<li><a href="../symbols/AV.Cloud.BeforeDeleteResponse.html">AV.Cloud.BeforeDeleteResponse</a></li>
 207	
 208	<li><a href="../symbols/AV.Cloud.BeforeSaveRequest.html">AV.Cloud.BeforeSaveRequest</a></li>
 209	
 210	<li><a href="../symbols/AV.Cloud.BeforeSaveResponse.html">AV.Cloud.BeforeSaveResponse</a></li>
 211	
 212	<li><a href="../symbols/AV.Cloud.FunctionRequest.html">AV.Cloud.FunctionRequest</a></li>
 213	
 214	<li><a href="../symbols/AV.Cloud.FunctionResponse.html">AV.Cloud.FunctionResponse</a></li>
 215	
 216	<li><a href="../symbols/AV.Collection.html">AV.Collection</a></li>
 217	
 218	<li><a href="../symbols/AV.Error.html">AV.Error</a></li>
 219	
 220	<li><a href="../symbols/AV.Events.html">AV.Events</a></li>
 221	
 222	<li><a href="../symbols/AV.FacebookUtils.html">AV.FacebookUtils</a></li>
 223	
 224	<li><a href="../symbols/AV.File.html">AV.File</a></li>
 225	
 226	<li><a href="../symbols/AV.GeoPoint.html">AV.GeoPoint</a></li>
 227	
 228	<li><a href="../symbols/AV.History.html">AV.History</a></li>
 229	
 230	<li><a href="../symbols/AV.InboxQuery.html">AV.InboxQuery</a></li>
 231	
 232	<li><a href="../symbols/AV.Object.html">AV.Object</a></li>
 233	
 234	<li><a href="../symbols/AV.Op.html">AV.Op</a></li>
 235	
 236	<li><a href="../symbols/AV.Op.Add.html">AV.Op.Add</a></li>
 237	
 238	<li><a href="../symbols/AV.Op.AddUnique.html">AV.Op.AddUnique</a></li>
 239	
 240	<li><a href="../symbols/AV.Op.Increment.html">AV.Op.Increment</a></li>
 241	
 242	<li><a href="../symbols/AV.Op.Relation.html">AV.Op.Relation</a></li>
 243	
 244	<li><a href="../symbols/AV.Op.Remove.html">AV.Op.Remove</a></li>
 245	
 246	<li><a href="../symbols/AV.Op.Set.html">AV.Op.Set</a></li>
 247	
 248	<li><a href="../symbols/AV.Op.Unset.html">AV.Op.Unset</a></li>
 249	
 250	<li><a href="../symbols/AV.Promise.html">AV.Promise</a></li>
 251	
 252	<li><a href="../symbols/AV.Push.html">AV.Push</a></li>
 253	
 254	<li><a href="../symbols/AV.Query.html">AV.Query</a></li>
 255	
 256	<li><a href="../symbols/AV.Relation.html">AV.Relation</a></li>
 257	
 258	<li><a href="../symbols/AV.Role.html">AV.Role</a></li>
 259	
 260	<li><a href="../symbols/AV.Router.html">AV.Router</a></li>
 261	
 262	<li><a href="../symbols/AV.SearchQuery.html">AV.SearchQuery</a></li>
 263	
 264	<li><a href="../symbols/AV.SearchSortBuilder.html">AV.SearchSortBuilder</a></li>
 265	
 266	<li><a href="../symbols/AV.Status.html">AV.Status</a></li>
 267	
 268	<li><a href="../symbols/AV.User.html">AV.User</a></li>
 269	
 270	<li><a href="../symbols/AV.View.html">AV.View</a></li>
 271	
 272	<li><a href="../symbols/avosExpressCookieSession.html">avosExpressCookieSession</a></li>
 273	
 274	<li><a href="../symbols/avosExpressHttpsRedirect.html">avosExpressHttpsRedirect</a></li>
 275	
 276</ul>
 277<hr />
 278			<!-- end publish.classesIndex -->
 279		</div>
 280		
 281		<div id="content">
 282<!-- ============================== class title ============================ -->
 283			<h1 class="classTitle">
 284				
 285				Class AV.Error
 286			</h1>
 287
 288<!-- ============================== class summary ========================== -->			
 289			<p class="description">
 290				
 291				
 292			
 293				<p>Class used for all objects passed to error callbacks.</p>
 294				
 295				
 296					<br /><i>Defined in: </i> <a href="../symbols/src/dist_av.js.html">av.js</a>.
 297				
 298			</p>
 299
 300<!-- ============================== constructor summary ==================== -->			
 301			
 302			<table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class AV.Error.">
 303				<caption>Class Summary</caption>
 304				<thead>
 305					<tr>
 306						<th scope="col">Constructor Attributes</th>
 307						<th scope="col">Constructor Name and Description</th>
 308					</tr>
 309				</thead>
 310				<tbody>
 311					<tr>
 312						<td class="attributes">&nbsp;</td>
 313						<td class="nameDescription" >
 314							<div class="fixedFont">
 315								<b><a href="../symbols/AV.Error.html#constructor">AV.Error</a></b>(code, message)
 316							</div>
 317							<div class="description">Constructs a new AV.Error object with the given code and message.</div>
 318						</td>
 319					</tr>
 320				</tbody>
 321			</table>
 322			
 323
 324<!-- ============================== properties summary ===================== -->
 325			
 326				
 327				
 328				<table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class AV.Error.">
 329					<caption>Field Summary</caption>
 330					<thead>
 331						<tr>
 332							<th scope="col">Field Attributes</th>
 333							<th scope="col">Field Name and Description</th>
 334						</tr>
 335					</thead>
 336					<tbody>
 337					
 338						<tr>
 339							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 340							<td class="nameDescription">
 341								<div class="fixedFont">
 342								AV.Error.<b><a href="../symbols/AV.Error.html#.ACCOUNT_ALREADY_LINKED">ACCOUNT_ALREADY_LINKED</a></b>
 343								</div>
 344								<div class="description">Error code indicating that an an account being linked is already linked
 345to another user.</div>
 346							</td>
 347						</tr>
 348					
 349						<tr>
 350							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 351							<td class="nameDescription">
 352								<div class="fixedFont">
 353								AV.Error.<b><a href="../symbols/AV.Error.html#.CACHE_MISS">CACHE_MISS</a></b>
 354								</div>
 355								<div class="description">Error code indicating the result was not found in the cache.</div>
 356							</td>
 357						</tr>
 358					
 359						<tr>
 360							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 361							<td class="nameDescription">
 362								<div class="fixedFont">
 363								AV.Error.<b><a href="../symbols/AV.Error.html#.COMMAND_UNAVAILABLE">COMMAND_UNAVAILABLE</a></b>
 364								</div>
 365								<div class="description">Error code indicating that the feature you tried to access is only
 366available internally for testing purposes.</div>
 367							</td>
 368						</tr>
 369					
 370						<tr>
 371							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 372							<td class="nameDescription">
 373								<div class="fixedFont">
 374								AV.Error.<b><a href="../symbols/AV.Error.html#.CONNECTION_FAILED">CONNECTION_FAILED</a></b>
 375								</div>
 376								<div class="description">Error code indicating the connection to the AV servers failed.</div>
 377							</td>
 378						</tr>
 379					
 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#.DUPLICATE_VALUE">DUPLICATE_VALUE</a></b>
 385								</div>
 386								<div class="description">Error code indicating that a unique field was given a value that is
 387already taken.</div>
 388							</td>
 389						</tr>
 390					
 391						<tr>
 392							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 393							<td class="nameDescription">
 394								<div class="fixedFont">
 395								AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_MISSING">EMAIL_MISSING</a></b>
 396								</div>
 397								<div class="description">Error code indicating that the email is missing, but must be specified.</div>
 398							</td>
 399						</tr>
 400					
 401						<tr>
 402							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 403							<td class="nameDescription">
 404								<div class="fixedFont">
 405								AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_NOT_FOUND">EMAIL_NOT_FOUND</a></b>
 406								</div>
 407								<div class="description">Error code indicating that a user with the specified email was not found.</div>
 408							</td>
 409						</tr>
 410					
 411						<tr>
 412							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 413							<td class="nameDescription">
 414								<div class="fixedFont">
 415								AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_TAKEN">EMAIL_TAKEN</a></b>
 416								</div>
 417								<div class="description">Error code indicating that the email has already been taken.</div>
 418							</td>
 419						</tr>
 420					
 421						<tr>
 422							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 423							<td class="nameDescription">
 424								<div class="fixedFont">
 425								AV.Error.<b><a href="../symbols/AV.Error.html#.EXCEEDED_QUOTA">EXCEEDED_QUOTA</a></b>
 426								</div>
 427								<div class="description">Error code indicating that an application quota was exceeded.</div>
 428							</td>
 429						</tr>
 430					
 431						<tr>
 432							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 433							<td class="nameDescription">
 434								<div class="fixedFont">
 435								AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_DELETE_ERROR">FILE_DELETE_ERROR</a></b>
 436								</div>
 437								<div class="description">Error code indicating an error deleting a file.</div>
 438							</td>
 439						</tr>
 440					
 441						<tr>
 442							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 443							<td class="nameDescription">
 444								<div class="fixedFont">
 445								AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_SAVE_ERROR">FILE_SAVE_ERROR</a></b>
 446								</div>
 447								<div class="description">Error code indicating an error saving a file.</div>
 448							</td>
 449						</tr>
 450					
 451						<tr>
 452							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 453							<td class="nameDescription">
 454								<div class="fixedFont">
 455								AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_TOO_LARGE">FILE_TOO_LARGE</a></b>
 456								</div>
 457								<div class="description">Error code indicating a file that was too large.</div>
 458							</td>
 459						</tr>
 460					
 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#.INCORRECT_TYPE">INCORRECT_TYPE</a></b>
 466								</div>
 467								<div class="description">Error code indicating that a field was set to an inconsistent type.</div>
 468							</td>
 469						</tr>
 470					
 471						<tr>
 472							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 473							<td class="nameDescription">
 474								<div class="fixedFont">
 475								AV.Error.<b><a href="../symbols/AV.Error.html#.INTERNAL_SERVER_ERROR">INTERNAL_SERVER_ERROR</a></b>
 476								</div>
 477								<div class="description">Error code indicating that something has gone wrong with the server.</div>
 478							</td>
 479						</tr>
 480					
 481						<tr>
 482							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 483							<td class="nameDescription">
 484								<div class="fixedFont">
 485								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ACL">INVALID_ACL</a></b>
 486								</div>
 487								<div class="description">Error code indicating an invalid ACL was provided.</div>
 488							</td>
 489						</tr>
 490					
 491						<tr>
 492							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 493							<td class="nameDescription">
 494								<div class="fixedFont">
 495								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CHANNEL_NAME">INVALID_CHANNEL_NAME</a></b>
 496								</div>
 497								<div class="description">Error code indicating an invalid channel name.</div>
 498							</td>
 499						</tr>
 500					
 501						<tr>
 502							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 503							<td class="nameDescription">
 504								<div class="fixedFont">
 505								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CLASS_NAME">INVALID_CLASS_NAME</a></b>
 506								</div>
 507								<div class="description">Error code indicating a missing or invalid classname.</div>
 508							</td>
 509						</tr>
 510					
 511						<tr>
 512							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 513							<td class="nameDescription">
 514								<div class="fixedFont">
 515								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CONTENT_LENGTH">INVALID_CONTENT_LENGTH</a></b>
 516								</div>
 517								<div class="description">Error code indicating an invalid content length.</div>
 518							</td>
 519						</tr>
 520					
 521						<tr>
 522							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 523							<td class="nameDescription">
 524								<div class="fixedFont">
 525								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_EMAIL_ADDRESS">INVALID_EMAIL_ADDRESS</a></b>
 526								</div>
 527								<div class="description">Error code indicating that the email address was invalid.</div>
 528							</td>
 529						</tr>
 530					
 531						<tr>
 532							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 533							<td class="nameDescription">
 534								<div class="fixedFont">
 535								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_FILE_NAME">INVALID_FILE_NAME</a></b>
 536								</div>
 537								<div class="description">Error code indicating that an invalid filename was used for AVFile.</div>
 538							</td>
 539						</tr>
 540					
 541						<tr>
 542							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 543							<td class="nameDescription">
 544								<div class="fixedFont">
 545								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_IMAGE_DATA">INVALID_IMAGE_DATA</a></b>
 546								</div>
 547								<div class="description">Error code indicating that invalid image data was provided.</div>
 548							</td>
 549						</tr>
 550					
 551						<tr>
 552							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 553							<td class="nameDescription">
 554								<div class="fixedFont">
 555								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_JSON">INVALID_JSON</a></b>
 556								</div>
 557								<div class="description">Error code indicating that badly formed JSON was received upstream.</div>
 558							</td>
 559						</tr>
 560					
 561						<tr>
 562							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 563							<td class="nameDescription">
 564								<div class="fixedFont">
 565								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_KEY_NAME">INVALID_KEY_NAME</a></b>
 566								</div>
 567								<div class="description">Error code indicating an invalid key name.</div>
 568							</td>
 569						</tr>
 570					
 571						<tr>
 572							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 573							<td class="nameDescription">
 574								<div class="fixedFont">
 575								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_LINKED_SESSION">INVALID_LINKED_SESSION</a></b>
 576								</div>
 577								<div class="description">Error code indicating that a user with a linked (e.g.</div>
 578							</td>
 579						</tr>
 580					
 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#.INVALID_NESTED_KEY">INVALID_NESTED_KEY</a></b>
 586								</div>
 587								<div class="description">Error code indicating that an invalid key was used in a nested
 588JSONObject.</div>
 589							</td>
 590						</tr>
 591					
 592						<tr>
 593							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 594							<td class="nameDescription">
 595								<div class="fixedFont">
 596								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_POINTER">INVALID_POINTER</a></b>
 597								</div>
 598								<div class="description">Error code indicating a malformed pointer.</div>
 599							</td>
 600						</tr>
 601					
 602						<tr>
 603							<td class="attributes">&lt;static&gt; &nbsp;</td>
 604							<td class="nameDescription">
 605								<div class="fixedFont">
 606								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_PUSH_TIME_ERROR">INVALID_PUSH_TIME_ERROR</a></b>
 607								</div>
 608								<div class="description">Error code indicating an invalid push time.</div>
 609							</td>
 610						</tr>
 611					
 612						<tr>
 613							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 614							<td class="nameDescription">
 615								<div class="fixedFont">
 616								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_QUERY">INVALID_QUERY</a></b>
 617								</div>
 618								<div class="description">Error code indicating you tried to query with a datatype that doesn't
 619support it, like exact matching an array or object.</div>
 620							</td>
 621						</tr>
 622					
 623						<tr>
 624							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 625							<td class="nameDescription">
 626								<div class="fixedFont">
 627								AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ROLE_NAME">INVALID_ROLE_NAME</a></b>
 628								</div>
 629								<div class="description">Error code indicating that a role's name is invalid.</div>
 630							</td>
 631						</tr>
 632					
 633						<tr>
 634							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 635							<td class="nameDescription">
 636								<div class="fixedFont">
 637								AV.Error.<b><a href="../symbols/AV.Error.html#.LINKED_ID_MISSING">LINKED_ID_MISSING</a></b>
 638								</div>
 639								<div class="description">Error code indicating that a user cannot be linked to an account because
 640that account's id could not be found.</div>
 641							</td>
 642						</tr>
 643					
 644						<tr>
 645							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 646							<td class="nameDescription">
 647								<div class="fixedFont">
 648								AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_CONTENT_LENGTH">MISSING_CONTENT_LENGTH</a></b>
 649								</div>
 650								<div class="description">Error code indicating a missing content length.</div>
 651							</td>
 652						</tr>
 653					
 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#.MISSING_CONTENT_TYPE">MISSING_CONTENT_TYPE</a></b>
 659								</div>
 660								<div class="description">Error code indicating a missing content type.</div>
 661							</td>
 662						</tr>
 663					
 664						<tr>
 665							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 666							<td class="nameDescription">
 667								<div class="fixedFont">
 668								AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_OBJECT_ID">MISSING_OBJECT_ID</a></b>
 669								</div>
 670								<div class="description">Error code indicating an unspecified object id.</div>
 671							</td>
 672						</tr>
 673					
 674						<tr>
 675							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 676							<td class="nameDescription">
 677								<div class="fixedFont">
 678								AV.Error.<b><a href="../symbols/AV.Error.html#.MUST_CREATE_USER_THROUGH_SIGNUP">MUST_CREATE_USER_THROUGH_SIGNUP</a></b>
 679								</div>
 680								<div class="description">Error code indicating that a user can only be created through signup.</div>
 681							</td>
 682						</tr>
 683					
 684						<tr>
 685							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 686							<td class="nameDescription">
 687								<div class="fixedFont">
 688								AV.Error.<b><a href="../symbols/AV.Error.html#.NOT_INITIALIZED">NOT_INITIALIZED</a></b>
 689								</div>
 690								<div class="description">You must call AV.initialize before using the AV library.</div>
 691							</td>
 692						</tr>
 693					
 694						<tr>
 695							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 696							<td class="nameDescription">
 697								<div class="fixedFont">
 698								AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_NOT_FOUND">OBJECT_NOT_FOUND</a></b>
 699								</div>
 700								<div class="description">Error code indicating the specified object doesn't exist.</div>
 701							</td>
 702						</tr>
 703					
 704						<tr>
 705							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 706							<td class="nameDescription">
 707								<div class="fixedFont">
 708								AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_TOO_LARGE">OBJECT_TOO_LARGE</a></b>
 709								</div>
 710								<div class="description">Error code indicating that the object is too large.</div>
 711							</td>
 712						</tr>
 713					
 714						<tr>
 715							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 716							<td class="nameDescription">
 717								<div class="fixedFont">
 718								AV.Error.<b><a href="../symbols/AV.Error.html#.OPERATION_FORBIDDEN">OPERATION_FORBIDDEN</a></b>
 719								</div>
 720								<div class="description">Error code indicating that the operation isn't allowed for clients.</div>
 721							</td>
 722						</tr>
 723					
 724						<tr>
 725							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 726							<td class="nameDescription">
 727								<div class="fixedFont">
 728								AV.Error.<b><a href="../symbols/AV.Error.html#.OTHER_CAUSE">OTHER_CAUSE</a></b>
 729								</div>
 730								<div class="description">Error code indicating some error other than those enumerated here.</div>
 731							</td>
 732						</tr>
 733					
 734						<tr>
 735							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 736							<td class="nameDescription">
 737								<div class="fixedFont">
 738								AV.Error.<b><a href="../symbols/AV.Error.html#.PASSWORD_MISSING">PASSWORD_MISSING</a></b>
 739								</div>
 740								<div class="description">Error code indicating that the password is missing or empty.</div>
 741							</td>
 742						</tr>
 743					
 744						<tr>
 745							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 746							<td class="nameDescription">
 747								<div class="fixedFont">
 748								AV.Error.<b><a href="../symbols/AV.Error.html#.PUSH_MISCONFIGURED">PUSH_MISCONFIGURED</a></b>
 749								</div>
 750								<div class="description">Error code indicating that push is misconfigured.</div>
 751							</td>
 752						</tr>
 753					
 754						<tr>
 755							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 756							<td class="nameDescription">
 757								<div class="fixedFont">
 758								AV.Error.<b><a href="../symbols/AV.Error.html#.SCRIPT_FAILED">SCRIPT_FAILED</a></b>
 759								</div>
 760								<div class="description">Error code indicating that a Cloud Code script failed.</div>
 761							</td>
 762						</tr>
 763					
 764						<tr>
 765							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 766							<td class="nameDescription">
 767								<div class="fixedFont">
 768								AV.Error.<b><a href="../symbols/AV.Error.html#.SESSION_MISSING">SESSION_MISSING</a></b>
 769								</div>
 770								<div class="description">Error code indicating that a user object without a valid session could
 771not be altered.</div>
 772							</td>
 773						</tr>
 774					
 775						<tr>
 776							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 777							<td class="nameDescription">
 778								<div class="fixedFont">
 779								AV.Error.<b><a href="../symbols/AV.Error.html#.TIMEOUT">TIMEOUT</a></b>
 780								</div>
 781								<div class="description">Error code indicating that the request timed out on the server.</div>
 782							</td>
 783						</tr>
 784					
 785						<tr>
 786							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 787							<td class="nameDescription">
 788								<div class="fixedFont">
 789								AV.Error.<b><a href="../symbols/AV.Error.html#.UNSAVED_FILE_ERROR">UNSAVED_FILE_ERROR</a></b>
 790								</div>
 791								<div class="description">Error code indicating an unsaved file.</div>
 792							</td>
 793						</tr>
 794					
 795						<tr>
 796							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 797							<td class="nameDescription">
 798								<div class="fixedFont">
 799								AV.Error.<b><a href="../symbols/AV.Error.html#.UNSUPPORTED_SERVICE">UNSUPPORTED_SERVICE</a></b>
 800								</div>
 801								<div class="description">Error code indicating that a service being linked (e.g.</div>
 802							</td>
 803						</tr>
 804					
 805						<tr>
 806							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 807							<td class="nameDescription">
 808								<div class="fixedFont">
 809								AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_MISSING">USERNAME_MISSING</a></b>
 810								</div>
 811								<div class="description">Error code indicating that the username is missing or empty.</div>
 812							</td>
 813						</tr>
 814					
 815						<tr>
 816							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 817							<td class="nameDescription">
 818								<div class="fixedFont">
 819								AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_TAKEN">USERNAME_TAKEN</a></b>
 820								</div>
 821								<div class="description">Error code indicating that the username has already been taken.</div>
 822							</td>
 823						</tr>
 824					
 825						<tr>
 826							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 827							<td class="nameDescription">
 828								<div class="fixedFont">
 829								AV.Error.<b><a href="../symbols/AV.Error.html#.VALIDATION_ERROR">VALIDATION_ERROR</a></b>
 830								</div>
 831								<div class="description">Error code indicating that a Cloud Code validation failed.</div>
 832							</td>
 833						</tr>
 834					
 835						<tr>
 836							<td class="attributes">&lt;static&gt; &lt;constant&gt; &nbsp;</td>
 837							<td class="nameDescription">
 838								<div class="fixedFont">
 839								AV.Error.<b><a href="../symbols/AV.Error.html#.X_DOMAIN_REQUEST">X_DOMAIN_REQUEST</a></b>
 840								</div>
 841								<div class="description">Error code indicating a real error code is unavailable because
 842we had to use an XDomainRequest object to allow CORS requests in
 843Internet Explorer, which strips the body from HTTP responses that have
 844a non-2XX status code.</div>
 845							</td>
 846						</tr>
 847					
 848					</tbody>
 849				</table>
 850				
 851				
 852				
 853			
 854
 855<!-- ============================== methods summary ======================== -->
 856			
 857<!-- ============================== events summary ======================== -->
 858			
 859
 860<!-- ============================== constructor details ==================== -->		
 861			
 862			<div class="details"><a name="constructor"> </a>
 863				<div class="sectionTitle">
 864					Class Detail
 865				</div>
 866				
 867				<div class="fixedFont">
 868						<b>AV.Error</b>(code, message)
 869				</div>
 870				
 871				<div class="description">
 872					Constructs a new AV.Error object with the given code and message.
 873					
 874				</div>
 875				
 876				
 877				
 878				
 879					
 880						<dl class="detailList">
 881						<dt class="heading">Parameters:</dt>
 882						
 883							<dt>
 884								<span class="light fixedFont">{Number}</span>  <b>code</b>
 885								
 886							</dt>
 887								<dd>An error code constant from <code>AV.Error</code>.</dd>
 888						
 889							<dt>
 890								<span class="light fixedFont">{String}</span>  <b>message</b>
 891								
 892							</dt>
 893								<dd>A detailed description of the error.</dd>
 894						
 895						</dl>
 896					
 897					
 898					
 899					
 900					
 901					
 902					
 903
 904			</div>
 905			
 906
 907<!-- ============================== field details ========================== -->		
 908			
 909				<div class="sectionTitle">
 910					Field Detail
 911				</div>
 912				
 913					<a name=".ACCOUNT_ALREADY_LINKED"> </a>
 914					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
 915					
 916					
 917					<span class="light">AV.Error.</span><b>ACCOUNT_ALREADY_LINKED</b>
 918					
 919					</div>
 920					<div class="description">
 921						Error code indicating that an an account being linked is already linked
 922to another user.
 923						
 924						
 925					</div>
 926					
 927					
 928
 929						
 930						
 931						
 932						
 933
 934					<hr />
 935				
 936					<a name=".CACHE_MISS"> </a>
 937					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
 938					
 939					
 940					<span class="light">AV.Error.</span><b>CACHE_MISS</b>
 941					
 942					</div>
 943					<div class="description">
 944						Error code indicating the result was not found in the cache.
 945						
 946						
 947					</div>
 948					
 949					
 950
 951						
 952						
 953						
 954						
 955
 956					<hr />
 957				
 958					<a name=".COMMAND_UNAVAILABLE"> </a>
 959					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
 960					
 961					
 962					<span class="light">AV.Error.</span><b>COMMAND_UNAVAILABLE</b>
 963					
 964					</div>
 965					<div class="description">
 966						Error code indicating that the feature you tried to access is only
 967available internally for testing purposes.
 968						
 969						
 970					</div>
 971					
 972					
 973
 974						
 975						
 976						
 977						
 978
 979					<hr />
 980				
 981					<a name=".CONNECTION_FAILED"> </a>
 982					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
 983					
 984					
 985					<span class="light">AV.Error.</span><b>CONNECTION_FAILED</b>
 986					
 987					</div>
 988					<div class="description">
 989						Error code indicating the connection to the AV servers failed.
 990						
 991						
 992					</div>
 993					
 994					
 995
 996						
 997						
 998						
 999						
1000
1001					<hr />
1002				
1003					<a name=".DUPLICATE_VALUE"> </a>
1004					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1005					
1006					
1007					<span class="light">AV.Error.</span><b>DUPLICATE_VALUE</b>
1008					
1009					</div>
1010					<div class="description">
1011						Error code indicating that a unique field was given a value that is
1012already taken.
1013						
1014						
1015					</div>
1016					
1017					
1018
1019						
1020						
1021						
1022						
1023
1024					<hr />
1025				
1026					<a name=".EMAIL_MISSING"> </a>
1027					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1028					
1029					
1030					<span class="light">AV.Error.</span><b>EMAIL_MISSING</b>
1031					
1032					</div>
1033					<div class="description">
1034						Error code indicating that the email is missing, but must be specified.
1035						
1036						
1037					</div>
1038					
1039					
1040
1041						
1042						
1043						
1044						
1045
1046					<hr />
1047				
1048					<a name=".EMAIL_NOT_FOUND"> </a>
1049					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1050					
1051					
1052					<span class="light">AV.Error.</span><b>EMAIL_NOT_FOUND</b>
1053					
1054					</div>
1055					<div class="description">
1056						Error code indicating that a user with the specified email was not found.
1057						
1058						
1059					</div>
1060					
1061					
1062
1063						
1064						
1065						
1066						
1067
1068					<hr />
1069				
1070					<a name=".EMAIL_TAKEN"> </a>
1071					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1072					
1073					
1074					<span class="light">AV.Error.</span><b>EMAIL_TAKEN</b>
1075					
1076					</div>
1077					<div class="description">
1078						Error code indicating that the email has already been taken.
1079						
1080						
1081					</div>
1082					
1083					
1084
1085						
1086						
1087						
1088						
1089
1090					<hr />
1091				
1092					<a name=".EXCEEDED_QUOTA"> </a>
1093					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1094					
1095					
1096					<span class="light">AV.Error.</span><b>EXCEEDED_QUOTA</b>
1097					
1098					</div>
1099					<div class="description">
1100						Error code indicating that an application quota was exceeded.  Upgrade to
1101resolve.
1102						
1103						
1104					</div>
1105					
1106					
1107
1108						
1109						
1110						
1111						
1112
1113					<hr />
1114				
1115					<a name=".FILE_DELETE_ERROR"> </a>
1116					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1117					
1118					
1119					<span class="light">AV.Error.</span><b>FILE_DELETE_ERROR</b>
1120					
1121					</div>
1122					<div class="description">
1123						Error code indicating an error deleting a file.
1124						
1125						
1126					</div>
1127					
1128					
1129
1130						
1131						
1132						
1133						
1134
1135					<hr />
1136				
1137					<a name=".FILE_SAVE_ERROR"> </a>
1138					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1139					
1140					
1141					<span class="light">AV.Error.</span><b>FILE_SAVE_ERROR</b>
1142					
1143					</div>
1144					<div class="description">
1145						Error code indicating an error saving a file.
1146						
1147						
1148					</div>
1149					
1150					
1151
1152						
1153						
1154						
1155						
1156
1157					<hr />
1158				
1159					<a name=".FILE_TOO_LARGE"> </a>
1160					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1161					
1162					
1163					<span class="light">AV.Error.</span><b>FILE_TOO_LARGE</b>
1164					
1165					</div>
1166					<div class="description">
1167						Error code indicating a file that was too large.
1168						
1169						
1170					</div>
1171					
1172					
1173
1174						
1175						
1176						
1177						
1178
1179					<hr />
1180				
1181					<a name=".INCORRECT_TYPE"> </a>
1182					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1183					
1184					
1185					<span class="light">AV.Error.</span><b>INCORRECT_TYPE</b>
1186					
1187					</div>
1188					<div class="description">
1189						Error code indicating that a field was set to an inconsistent type.
1190						
1191						
1192					</div>
1193					
1194					
1195
1196						
1197						
1198						
1199						
1200
1201					<hr />
1202				
1203					<a name=".INTERNAL_SERVER_ERROR"> </a>
1204					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1205					
1206					
1207					<span class="light">AV.Error.</span><b>INTERNAL_SERVER_ERROR</b>
1208					
1209					</div>
1210					<div class="description">
1211						Error code indicating that something has gone wrong with the server.
1212If you get this error code, it is AV's fault. Contact us at
1213https://avoscloud.com/help
1214						
1215						
1216					</div>
1217					
1218					
1219
1220						
1221						
1222						
1223						
1224
1225					<hr />
1226				
1227					<a name=".INVALID_ACL"> </a>
1228					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1229					
1230					
1231					<span class="light">AV.Error.</span><b>INVALID_ACL</b>
1232					
1233					</div>
1234					<div class="description">
1235						Error code indicating an invalid ACL was provided.
1236						
1237						
1238					</div>
1239					
1240					
1241
1242						
1243						
1244						
1245						
1246
1247					<hr />
1248				
1249					<a name=".INVALID_CHANNEL_NAME"> </a>
1250					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1251					
1252					
1253					<span class="light">AV.Error.</span><b>INVALID_CHANNEL_NAME</b>
1254					
1255					</div>
1256					<div class="description">
1257						Error code indicating an invalid channel name. A channel name is either
1258an empty string (the broadcast channel) or contains only a-zA-Z0-9_
1259characters and starts with a letter.
1260						
1261						
1262					</div>
1263					
1264					
1265
1266						
1267						
1268						
1269						
1270
1271					<hr />
1272				
1273					<a name=".INVALID_CLASS_NAME"> </a>
1274					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1275					
1276					
1277					<span class="light">AV.Error.</span><b>INVALID_CLASS_NAME</b>
1278					
1279					</div>
1280					<div class="description">
1281						Error code indicating a missing or invalid classname. Classnames are
1282case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the
1283only valid characters.
1284						
1285						
1286					</div>
1287					
1288					
1289
1290						
1291						
1292						
1293						
1294
1295					<hr />
1296				
1297					<a name=".INVALID_CONTENT_LENGTH"> </a>
1298					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1299					
1300					
1301					<span class="light">AV.Error.</span><b>INVALID_CONTENT_LENGTH</b>
1302					
1303					</div>
1304					<div class="description">
1305						Error code indicating an invalid content length.
1306						
1307						
1308					</div>
1309					
1310					
1311
1312						
1313						
1314						
1315						
1316
1317					<hr />
1318				
1319					<a name=".INVALID_EMAIL_ADDRESS"> </a>
1320					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1321					
1322					
1323					<span class="light">AV.Error.</span><b>INVALID_EMAIL_ADDRESS</b>
1324					
1325					</div>
1326					<div class="description">
1327						Error code indicating that the email address was invalid.
1328						
1329						
1330					</div>
1331					
1332					
1333
1334						
1335						
1336						
1337						
1338
1339					<hr />
1340				
1341					<a name=".INVALID_FILE_NAME"> </a>
1342					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1343					
1344					
1345					<span class="light">AV.Error.</span><b>INVALID_FILE_NAME</b>
1346					
1347					</div>
1348					<div class="description">
1349						Error code indicating that an invalid filename was used for AVFile.
1350A valid file name contains only a-zA-Z0-9_. characters and is between 1
1351and 128 characters.
1352						
1353						
1354					</div>
1355					
1356					
1357
1358						
1359						
1360						
1361						
1362
1363					<hr />
1364				
1365					<a name=".INVALID_IMAGE_DATA"> </a>
1366					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1367					
1368					
1369					<span class="light">AV.Error.</span><b>INVALID_IMAGE_DATA</b>
1370					
1371					</div>
1372					<div class="description">
1373						Error code indicating that invalid image data was provided.
1374						
1375						
1376					</div>
1377					
1378					
1379
1380						
1381						
1382						
1383						
1384
1385					<hr />
1386				
1387					<a name=".INVALID_JSON"> </a>
1388					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1389					
1390					
1391					<span class="light">AV.Error.</span><b>INVALID_JSON</b>
1392					
1393					</div>
1394					<div class="description">
1395						Error code indicating that badly formed JSON was received upstream. This
1396either indicates you have done something unusual with modifying how
1397things encode to JSON, or the network is failing badly.
1398						
1399						
1400					</div>
1401					
1402					
1403
1404						
1405						
1406						
1407						
1408
1409					<hr />
1410				
1411					<a name=".INVALID_KEY_NAME"> </a>
1412					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1413					
1414					
1415					<span class="light">AV.Error.</span><b>INVALID_KEY_NAME</b>
1416					
1417					</div>
1418					<div class="description">
1419						Error code indicating an invalid key name. Keys are case-sensitive. They
1420must start with a letter, and a-zA-Z0-9_ are the only valid characters.
1421						
1422						
1423					</div>
1424					
1425					
1426
1427						
1428						
1429						
1430						
1431
1432					<hr />
1433				
1434					<a name=".INVALID_LINKED_SESSION"> </a>
1435					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1436					
1437					
1438					<span class="light">AV.Error.</span><b>INVALID_LINKED_SESSION</b>
1439					
1440					</div>
1441					<div class="description">
1442						Error code indicating that a user with a linked (e.g. Facebook) account
1443has an invalid session.
1444						
1445						
1446					</div>
1447					
1448					
1449
1450						
1451						
1452						
1453						
1454
1455					<hr />
1456				
1457					<a name=".INVALID_NESTED_KEY"> </a>
1458					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1459					
1460					
1461					<span class="light">AV.Error.</span><b>INVALID_NESTED_KEY</b>
1462					
1463					</div>
1464					<div class="description">
1465						Error code indicating that an invalid key was used in a nested
1466JSONObject.
1467						
1468						
1469					</div>
1470					
1471					
1472
1473						
1474						
1475						
1476						
1477
1478					<hr />
1479				
1480					<a name=".INVALID_POINTER"> </a>
1481					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1482					
1483					
1484					<span class="light">AV.Error.</span><b>INVALID_POINTER</b>
1485					
1486					</div>
1487					<div class="description">
1488						Error code indicating a malformed pointer. You should not see this unless
1489you have been mucking about changing internal AV code.
1490						
1491						
1492					</div>
1493					
1494					
1495
1496						
1497						
1498						
1499						
1500
1501					<hr />
1502				
1503					<a name=".INVALID_PUSH_TIME_ERROR"> </a>
1504					<div class="fixedFont">&lt;static&gt; 
1505					
1506					
1507					<span class="light">AV.Error.</span><b>INVALID_PUSH_TIME_ERROR</b>
1508					
1509					</div>
1510					<div class="description">
1511						Error code indicating an invalid push time.
1512						
1513						
1514					</div>
1515					
1516					
1517
1518						
1519						
1520						
1521						
1522
1523					<hr />
1524				
1525					<a name=".INVALID_QUERY"> </a>
1526					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1527					
1528					
1529					<span class="light">AV.Error.</span><b>INVALID_QUERY</b>
1530					
1531					</div>
1532					<div class="description">
1533						Error code indicating you tried to query with a datatype that doesn't
1534support it, like exact matching an array or object.
1535						
1536						
1537					</div>
1538					
1539					
1540
1541						
1542						
1543						
1544						
1545
1546					<hr />
1547				
1548					<a name=".INVALID_ROLE_NAME"> </a>
1549					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1550					
1551					
1552					<span class="light">AV.Error.</span><b>INVALID_ROLE_NAME</b>
1553					
1554					</div>
1555					<div class="description">
1556						Error code indicating that a role's name is invalid.
1557						
1558						
1559					</div>
1560					
1561					
1562
1563						
1564						
1565						
1566						
1567
1568					<hr />
1569				
1570					<a name=".LINKED_ID_MISSING"> </a>
1571					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1572					
1573					
1574					<span class="light">AV.Error.</span><b>LINKED_ID_MISSING</b>
1575					
1576					</div>
1577					<div class="description">
1578						Error code indicating that a user cannot be linked to an account because
1579that account's id could not be found.
1580						
1581						
1582					</div>
1583					
1584					
1585
1586						
1587						
1588						
1589						
1590
1591					<hr />
1592				
1593					<a name=".MISSING_CONTENT_LENGTH"> </a>
1594					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1595					
1596					
1597					<span class="light">AV.Error.</span><b>MISSING_CONTENT_LENGTH</b>
1598					
1599					</div>
1600					<div class="description">
1601						Error code indicating a missing content length.
1602						
1603						
1604					</div>
1605					
1606					
1607
1608						
1609						
1610						
1611						
1612
1613					<hr />
1614				
1615					<a name=".MISSING_CONTENT_TYPE"> </a>
1616					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1617					
1618					
1619					<span class="light">AV.Error.</span><b>MISSING_CONTENT_TYPE</b>
1620					
1621					</div>
1622					<div class="description">
1623						Error code indicating a missing content type.
1624						
1625						
1626					</div>
1627					
1628					
1629
1630						
1631						
1632						
1633						
1634
1635					<hr />
1636				
1637					<a name=".MISSING_OBJECT_ID"> </a>
1638					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1639					
1640					
1641					<span class="light">AV.Error.</span><b>MISSING_OBJECT_ID</b>
1642					
1643					</div>
1644					<div class="description">
1645						Error code indicating an unspecified object id.
1646						
1647						
1648					</div>
1649					
1650					
1651
1652						
1653						
1654						
1655						
1656
1657					<hr />
1658				
1659					<a name=".MUST_CREATE_USER_THROUGH_SIGNUP"> </a>
1660					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1661					
1662					
1663					<span class="light">AV.Error.</span><b>MUST_CREATE_USER_THROUGH_SIGNUP</b>
1664					
1665					</div>
1666					<div class="description">
1667						Error code indicating that a user can only be created through signup.
1668						
1669						
1670					</div>
1671					
1672					
1673
1674						
1675						
1676						
1677						
1678
1679					<hr />
1680				
1681					<a name=".NOT_INITIALIZED"> </a>
1682					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1683					
1684					
1685					<span class="light">AV.Error.</span><b>NOT_INITIALIZED</b>
1686					
1687					</div>
1688					<div class="description">
1689						You must call AV.initialize before using the AV library.
1690						
1691						
1692					</div>
1693					
1694					
1695
1696						
1697						
1698						
1699						
1700
1701					<hr />
1702				
1703					<a name=".OBJECT_NOT_FOUND"> </a>
1704					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1705					
1706					
1707					<span class="light">AV.Error.</span><b>OBJECT_NOT_FOUND</b>
1708					
1709					</div>
1710					<div class="description">
1711						Error code indicating the specified object doesn't exist.
1712						
1713						
1714					</div>
1715					
1716					
1717
1718						
1719						
1720						
1721						
1722
1723					<hr />
1724				
1725					<a name=".OBJECT_TOO_LARGE"> </a>
1726					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1727					
1728					
1729					<span class="light">AV.Error.</span><b>OBJECT_TOO_LARGE</b>
1730					
1731					</div>
1732					<div class="description">
1733						Error code indicating that the object is too large.
1734						
1735						
1736					</div>
1737					
1738					
1739
1740						
1741						
1742						
1743						
1744
1745					<hr />
1746				
1747					<a name=".OPERATION_FORBIDDEN"> </a>
1748					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1749					
1750					
1751					<span class="light">AV.Error.</span><b>OPERATION_FORBIDDEN</b>
1752					
1753					</div>
1754					<div class="description">
1755						Error code indicating that the operation isn't allowed for clients.
1756						
1757						
1758					</div>
1759					
1760					
1761
1762						
1763						
1764						
1765						
1766
1767					<hr />
1768				
1769					<a name=".OTHER_CAUSE"> </a>
1770					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1771					
1772					
1773					<span class="light">AV.Error.</span><b>OTHER_CAUSE</b>
1774					
1775					</div>
1776					<div class="description">
1777						Error code indicating some error other than those enumerated here.
1778						
1779						
1780					</div>
1781					
1782					
1783
1784						
1785						
1786						
1787						
1788
1789					<hr />
1790				
1791					<a name=".PASSWORD_MISSING"> </a>
1792					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1793					
1794					
1795					<span class="light">AV.Error.</span><b>PASSWORD_MISSING</b>
1796					
1797					</div>
1798					<div class="description">
1799						Error code indicating that the password is missing or empty.
1800						
1801						
1802					</div>
1803					
1804					
1805
1806						
1807						
1808						
1809						
1810
1811					<hr />
1812				
1813					<a name=".PUSH_MISCONFIGURED"> </a>
1814					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1815					
1816					
1817					<span class="light">AV.Error.</span><b>PUSH_MISCONFIGURED</b>
1818					
1819					</div>
1820					<div class="description">
1821						Error code indicating that push is misconfigured.
1822						
1823						
1824					</div>
1825					
1826					
1827
1828						
1829						
1830						
1831						
1832
1833					<hr />
1834				
1835					<a name=".SCRIPT_FAILED"> </a>
1836					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1837					
1838					
1839					<span class="light">AV.Error.</span><b>SCRIPT_FAILED</b>
1840					
1841					</div>
1842					<div class="description">
1843						Error code indicating that a Cloud Code script failed.
1844						
1845						
1846					</div>
1847					
1848					
1849
1850						
1851						
1852						
1853						
1854
1855					<hr />
1856				
1857					<a name=".SESSION_MISSING"> </a>
1858					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1859					
1860					
1861					<span class="light">AV.Error.</span><b>SESSION_MISSING</b>
1862					
1863					</div>
1864					<div class="description">
1865						Error code indicating that a user object without a valid session could
1866not be altered.
1867						
1868						
1869					</div>
1870					
1871					
1872
1873						
1874						
1875						
1876						
1877
1878					<hr />
1879				
1880					<a name=".TIMEOUT"> </a>
1881					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1882					
1883					
1884					<span class="light">AV.Error.</span><b>TIMEOUT</b>
1885					
1886					</div>
1887					<div class="description">
1888						Error code indicating that the request timed out on the server. Typically
1889this indicates that the request is too expensive to run.
1890						
1891						
1892					</div>
1893					
1894					
1895
1896						
1897						
1898						
1899						
1900
1901					<hr />
1902				
1903					<a name=".UNSAVED_FILE_ERROR"> </a>
1904					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1905					
1906					
1907					<span class="light">AV.Error.</span><b>UNSAVED_FILE_ERROR</b>
1908					
1909					</div>
1910					<div class="description">
1911						Error code indicating an unsaved file.
1912						
1913						
1914					</div>
1915					
1916					
1917
1918						
1919						
1920						
1921						
1922
1923					<hr />
1924				
1925					<a name=".UNSUPPORTED_SERVICE"> </a>
1926					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1927					
1928					
1929					<span class="light">AV.Error.</span><b>UNSUPPORTED_SERVICE</b>
1930					
1931					</div>
1932					<div class="description">
1933						Error code indicating that a service being linked (e.g. Facebook or
1934Twitter) is unsupported.
1935						
1936						
1937					</div>
1938					
1939					
1940
1941						
1942						
1943						
1944						
1945
1946					<hr />
1947				
1948					<a name=".USERNAME_MISSING"> </a>
1949					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1950					
1951					
1952					<span class="light">AV.Error.</span><b>USERNAME_MISSING</b>
1953					
1954					</div>
1955					<div class="description">
1956						Error code indicating that the username is missing or empty.
1957						
1958						
1959					</div>
1960					
1961					
1962
1963						
1964						
1965						
1966						
1967
1968					<hr />
1969				
1970					<a name=".USERNAME_TAKEN"> </a>
1971					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1972					
1973					
1974					<span class="light">AV.Error.</span><b>USERNAME_TAKEN</b>
1975					
1976					</div>
1977					<div class="description">
1978						Error code indicating that the username has already been taken.
1979						
1980						
1981					</div>
1982					
1983					
1984
1985						
1986						
1987						
1988						
1989
1990					<hr />
1991				
1992					<a name=".VALIDATION_ERROR"> </a>
1993					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
1994					
1995					
1996					<span class="light">AV.Error.</span><b>VALIDATION_ERROR</b>
1997					
1998					</div>
1999					<div class="description">
2000						Error code indicating that a Cloud Code validation failed.
2001						
2002						
2003					</div>
2004					
2005					
2006
2007						
2008						
2009						
2010						
2011
2012					<hr />
2013				
2014					<a name=".X_DOMAIN_REQUEST"> </a>
2015					<div class="fixedFont">&lt;static&gt; &lt;constant&gt; 
2016					
2017					
2018					<span class="light">AV.Error.</span><b>X_DOMAIN_REQUEST</b>
2019					
2020					</div>
2021					<div class="description">
2022						Error code indicating a real error code is unavailable because
2023we had to use an XDomainRequest object to allow CORS requests in
2024Internet Explorer, which strips the body from HTTP responses that have
2025a non-2XX status code.
2026						
2027						
2028					</div>
2029					
2030					
2031
2032						
2033						
2034						
2035						
2036
2037					
2038				
2039			
2040
2041<!-- ============================== method details ========================= -->		
2042			
2043			
2044<!-- ============================== event details ========================= -->		
2045			
2046			
2047			<hr />
2048		</div>
2049
2050		
2051<!-- ============================== footer ================================= -->
2052		<div class="fineprint" style="clear:both">
2053			
2054			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)
2055		</div>
2056	</body>
2057</html>