/dist/js-sdk-api-docs/symbols/AV.Error.html
HTML | 2057 lines | 1159 code | 881 blank | 17 comment | 0 complexity | 70db30c51430a984c7d567326f2e9b59 MD5 | raw file
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <meta name="generator" content="JsDoc Toolkit" />
-
- <title>JsDoc Reference - AV.Error</title>
- <style type="text/css">
- /* default.css */
- body
- {
- font: 12px "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
- width: 800px;
- }
- .header
- {
- clear: both;
- background-color: #ccc;
- padding: 8px;
- }
- h1
- {
- font-size: 150%;
- font-weight: bold;
- padding: 0;
- margin: 1em 0 0 .3em;
- }
- hr
- {
- border: none 0;
- border-top: 1px solid #7F8FB1;
- height: 1px;
- }
- pre.code
- {
- display: block;
- padding: 8px;
- border: 1px dashed #ccc;
- }
- #index
- {
- margin-top: 24px;
- float: left;
- width: 160px;
- position: absolute;
- left: 8px;
- background-color: #F3F3F3;
- padding: 8px;
- }
- #content
- {
- margin-left: 190px;
- width: 600px;
- }
- .classList
- {
- list-style-type: none;
- padding: 0;
- margin: 0 0 0 8px;
- font-family: arial, sans-serif;
- font-size: 1em;
- overflow: auto;
- }
- .classList li
- {
- padding: 0;
- margin: 0 0 8px 0;
- }
- .summaryTable { width: 100%; }
- h1.classTitle
- {
- font-size:170%;
- line-height:130%;
- }
- h2 { font-size: 110%; }
- caption, div.sectionTitle
- {
- background-color: #7F8FB1;
- color: #fff;
- font-size:130%;
- text-align: left;
- padding: 2px 6px 2px 6px;
- border: 1px #7F8FB1 solid;
- }
- div.sectionTitle { margin-bottom: 8px; }
- .summaryTable thead { display: none; }
- .summaryTable td
- {
- vertical-align: top;
- padding: 4px;
- border-bottom: 1px #7F8FB1 solid;
- border-right: 1px #7F8FB1 solid;
- }
- /*col#summaryAttributes {}*/
- .summaryTable td.attributes
- {
- border-left: 1px #7F8FB1 solid;
- width: 140px;
- text-align: right;
- }
- td.attributes, .fixedFont
- {
- line-height: 15px;
- color: #002EBE;
- font-family: "Courier New",Courier,monospace;
- font-size: 13px;
- }
- .summaryTable td.nameDescription
- {
- text-align: left;
- font-size: 13px;
- line-height: 15px;
- }
- .summaryTable td.nameDescription, .description
- {
- line-height: 15px;
- padding: 4px;
- padding-left: 4px;
- }
- .summaryTable { margin-bottom: 8px; }
- ul.inheritsList
- {
- list-style: square;
- margin-left: 20px;
- padding-left: 0;
- }
- .detailList {
- margin-left: 20px;
- line-height: 15px;
- }
- .detailList dt { margin-left: 20px; }
- .detailList .heading
- {
- font-weight: bold;
- padding-bottom: 6px;
- margin-left: 0;
- }
- .light, td.attributes, .light a:link, .light a:visited
- {
- color: #777;
- font-style: italic;
- }
- .fineprint
- {
- text-align: right;
- font-size: 10px;
- }
- </style>
- </head>
- <body>
- <!-- ============================== header ================================= -->
- <!-- begin static/header.html -->
- <div id="header">
- </div>
- <!-- end static/header.html -->
- <!-- ============================== classes index ============================ -->
- <div id="index">
- <!-- begin publish.classesIndex -->
- <div align="center"><a href="../index.html">Class Index</a>
- | <a href="../files.html">File Index</a></div>
- <hr />
- <h2>Classes</h2>
- <ul class="classList">
-
- <li><i><a href="../symbols/_global_.html">_global_</a></i></li>
-
- <li><a href="../symbols/AV.html">AV</a></li>
-
- <li><a href="../symbols/AV.ACL.html">AV.ACL</a></li>
-
- <li><a href="../symbols/AV.Cloud.html">AV.Cloud</a></li>
-
- <li><a href="../symbols/AV.Cloud.AfterSaveRequest.html">AV.Cloud.AfterSaveRequest</a></li>
-
- <li><a href="../symbols/AV.Cloud.AfterUpdateRequest.html">AV.Cloud.AfterUpdateRequest</a></li>
-
- <li><a href="../symbols/AV.Cloud.BeforeDeleteRequest.html">AV.Cloud.BeforeDeleteRequest</a></li>
-
- <li><a href="../symbols/AV.Cloud.BeforeDeleteResponse.html">AV.Cloud.BeforeDeleteResponse</a></li>
-
- <li><a href="../symbols/AV.Cloud.BeforeSaveRequest.html">AV.Cloud.BeforeSaveRequest</a></li>
-
- <li><a href="../symbols/AV.Cloud.BeforeSaveResponse.html">AV.Cloud.BeforeSaveResponse</a></li>
-
- <li><a href="../symbols/AV.Cloud.FunctionRequest.html">AV.Cloud.FunctionRequest</a></li>
-
- <li><a href="../symbols/AV.Cloud.FunctionResponse.html">AV.Cloud.FunctionResponse</a></li>
-
- <li><a href="../symbols/AV.Collection.html">AV.Collection</a></li>
-
- <li><a href="../symbols/AV.Error.html">AV.Error</a></li>
-
- <li><a href="../symbols/AV.Events.html">AV.Events</a></li>
-
- <li><a href="../symbols/AV.FacebookUtils.html">AV.FacebookUtils</a></li>
-
- <li><a href="../symbols/AV.File.html">AV.File</a></li>
-
- <li><a href="../symbols/AV.GeoPoint.html">AV.GeoPoint</a></li>
-
- <li><a href="../symbols/AV.History.html">AV.History</a></li>
-
- <li><a href="../symbols/AV.InboxQuery.html">AV.InboxQuery</a></li>
-
- <li><a href="../symbols/AV.Object.html">AV.Object</a></li>
-
- <li><a href="../symbols/AV.Op.html">AV.Op</a></li>
-
- <li><a href="../symbols/AV.Op.Add.html">AV.Op.Add</a></li>
-
- <li><a href="../symbols/AV.Op.AddUnique.html">AV.Op.AddUnique</a></li>
-
- <li><a href="../symbols/AV.Op.Increment.html">AV.Op.Increment</a></li>
-
- <li><a href="../symbols/AV.Op.Relation.html">AV.Op.Relation</a></li>
-
- <li><a href="../symbols/AV.Op.Remove.html">AV.Op.Remove</a></li>
-
- <li><a href="../symbols/AV.Op.Set.html">AV.Op.Set</a></li>
-
- <li><a href="../symbols/AV.Op.Unset.html">AV.Op.Unset</a></li>
-
- <li><a href="../symbols/AV.Promise.html">AV.Promise</a></li>
-
- <li><a href="../symbols/AV.Push.html">AV.Push</a></li>
-
- <li><a href="../symbols/AV.Query.html">AV.Query</a></li>
-
- <li><a href="../symbols/AV.Relation.html">AV.Relation</a></li>
-
- <li><a href="../symbols/AV.Role.html">AV.Role</a></li>
-
- <li><a href="../symbols/AV.Router.html">AV.Router</a></li>
-
- <li><a href="../symbols/AV.SearchQuery.html">AV.SearchQuery</a></li>
-
- <li><a href="../symbols/AV.SearchSortBuilder.html">AV.SearchSortBuilder</a></li>
-
- <li><a href="../symbols/AV.Status.html">AV.Status</a></li>
-
- <li><a href="../symbols/AV.User.html">AV.User</a></li>
-
- <li><a href="../symbols/AV.View.html">AV.View</a></li>
-
- <li><a href="../symbols/avosExpressCookieSession.html">avosExpressCookieSession</a></li>
-
- <li><a href="../symbols/avosExpressHttpsRedirect.html">avosExpressHttpsRedirect</a></li>
-
- </ul>
- <hr />
- <!-- end publish.classesIndex -->
- </div>
-
- <div id="content">
- <!-- ============================== class title ============================ -->
- <h1 class="classTitle">
-
- Class AV.Error
- </h1>
- <!-- ============================== class summary ========================== -->
- <p class="description">
-
-
-
- <p>Class used for all objects passed to error callbacks.</p>
-
-
- <br /><i>Defined in: </i> <a href="../symbols/src/dist_av.js.html">av.js</a>.
-
- </p>
- <!-- ============================== constructor summary ==================== -->
-
- <table class="summaryTable" cellspacing="0" summary="A summary of the constructor documented in the class AV.Error.">
- <caption>Class Summary</caption>
- <thead>
- <tr>
- <th scope="col">Constructor Attributes</th>
- <th scope="col">Constructor Name and Description</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td class="attributes"> </td>
- <td class="nameDescription" >
- <div class="fixedFont">
- <b><a href="../symbols/AV.Error.html#constructor">AV.Error</a></b>(code, message)
- </div>
- <div class="description">Constructs a new AV.Error object with the given code and message.</div>
- </td>
- </tr>
- </tbody>
- </table>
-
- <!-- ============================== properties summary ===================== -->
-
-
-
- <table class="summaryTable" cellspacing="0" summary="A summary of the fields documented in the class AV.Error.">
- <caption>Field Summary</caption>
- <thead>
- <tr>
- <th scope="col">Field Attributes</th>
- <th scope="col">Field Name and Description</th>
- </tr>
- </thead>
- <tbody>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.ACCOUNT_ALREADY_LINKED">ACCOUNT_ALREADY_LINKED</a></b>
- </div>
- <div class="description">Error code indicating that an an account being linked is already linked
- to another user.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.CACHE_MISS">CACHE_MISS</a></b>
- </div>
- <div class="description">Error code indicating the result was not found in the cache.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.COMMAND_UNAVAILABLE">COMMAND_UNAVAILABLE</a></b>
- </div>
- <div class="description">Error code indicating that the feature you tried to access is only
- available internally for testing purposes.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.CONNECTION_FAILED">CONNECTION_FAILED</a></b>
- </div>
- <div class="description">Error code indicating the connection to the AV servers failed.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.DUPLICATE_VALUE">DUPLICATE_VALUE</a></b>
- </div>
- <div class="description">Error code indicating that a unique field was given a value that is
- already taken.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_MISSING">EMAIL_MISSING</a></b>
- </div>
- <div class="description">Error code indicating that the email is missing, but must be specified.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_NOT_FOUND">EMAIL_NOT_FOUND</a></b>
- </div>
- <div class="description">Error code indicating that a user with the specified email was not found.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.EMAIL_TAKEN">EMAIL_TAKEN</a></b>
- </div>
- <div class="description">Error code indicating that the email has already been taken.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.EXCEEDED_QUOTA">EXCEEDED_QUOTA</a></b>
- </div>
- <div class="description">Error code indicating that an application quota was exceeded.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_DELETE_ERROR">FILE_DELETE_ERROR</a></b>
- </div>
- <div class="description">Error code indicating an error deleting a file.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_SAVE_ERROR">FILE_SAVE_ERROR</a></b>
- </div>
- <div class="description">Error code indicating an error saving a file.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.FILE_TOO_LARGE">FILE_TOO_LARGE</a></b>
- </div>
- <div class="description">Error code indicating a file that was too large.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INCORRECT_TYPE">INCORRECT_TYPE</a></b>
- </div>
- <div class="description">Error code indicating that a field was set to an inconsistent type.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INTERNAL_SERVER_ERROR">INTERNAL_SERVER_ERROR</a></b>
- </div>
- <div class="description">Error code indicating that something has gone wrong with the server.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ACL">INVALID_ACL</a></b>
- </div>
- <div class="description">Error code indicating an invalid ACL was provided.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CHANNEL_NAME">INVALID_CHANNEL_NAME</a></b>
- </div>
- <div class="description">Error code indicating an invalid channel name.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CLASS_NAME">INVALID_CLASS_NAME</a></b>
- </div>
- <div class="description">Error code indicating a missing or invalid classname.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_CONTENT_LENGTH">INVALID_CONTENT_LENGTH</a></b>
- </div>
- <div class="description">Error code indicating an invalid content length.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_EMAIL_ADDRESS">INVALID_EMAIL_ADDRESS</a></b>
- </div>
- <div class="description">Error code indicating that the email address was invalid.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_FILE_NAME">INVALID_FILE_NAME</a></b>
- </div>
- <div class="description">Error code indicating that an invalid filename was used for AVFile.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_IMAGE_DATA">INVALID_IMAGE_DATA</a></b>
- </div>
- <div class="description">Error code indicating that invalid image data was provided.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_JSON">INVALID_JSON</a></b>
- </div>
- <div class="description">Error code indicating that badly formed JSON was received upstream.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_KEY_NAME">INVALID_KEY_NAME</a></b>
- </div>
- <div class="description">Error code indicating an invalid key name.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_LINKED_SESSION">INVALID_LINKED_SESSION</a></b>
- </div>
- <div class="description">Error code indicating that a user with a linked (e.g.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_NESTED_KEY">INVALID_NESTED_KEY</a></b>
- </div>
- <div class="description">Error code indicating that an invalid key was used in a nested
- JSONObject.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_POINTER">INVALID_POINTER</a></b>
- </div>
- <div class="description">Error code indicating a malformed pointer.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_PUSH_TIME_ERROR">INVALID_PUSH_TIME_ERROR</a></b>
- </div>
- <div class="description">Error code indicating an invalid push time.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_QUERY">INVALID_QUERY</a></b>
- </div>
- <div class="description">Error code indicating you tried to query with a datatype that doesn't
- support it, like exact matching an array or object.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.INVALID_ROLE_NAME">INVALID_ROLE_NAME</a></b>
- </div>
- <div class="description">Error code indicating that a role's name is invalid.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.LINKED_ID_MISSING">LINKED_ID_MISSING</a></b>
- </div>
- <div class="description">Error code indicating that a user cannot be linked to an account because
- that account's id could not be found.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_CONTENT_LENGTH">MISSING_CONTENT_LENGTH</a></b>
- </div>
- <div class="description">Error code indicating a missing content length.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_CONTENT_TYPE">MISSING_CONTENT_TYPE</a></b>
- </div>
- <div class="description">Error code indicating a missing content type.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.MISSING_OBJECT_ID">MISSING_OBJECT_ID</a></b>
- </div>
- <div class="description">Error code indicating an unspecified object id.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.MUST_CREATE_USER_THROUGH_SIGNUP">MUST_CREATE_USER_THROUGH_SIGNUP</a></b>
- </div>
- <div class="description">Error code indicating that a user can only be created through signup.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.NOT_INITIALIZED">NOT_INITIALIZED</a></b>
- </div>
- <div class="description">You must call AV.initialize before using the AV library.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_NOT_FOUND">OBJECT_NOT_FOUND</a></b>
- </div>
- <div class="description">Error code indicating the specified object doesn't exist.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.OBJECT_TOO_LARGE">OBJECT_TOO_LARGE</a></b>
- </div>
- <div class="description">Error code indicating that the object is too large.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.OPERATION_FORBIDDEN">OPERATION_FORBIDDEN</a></b>
- </div>
- <div class="description">Error code indicating that the operation isn't allowed for clients.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.OTHER_CAUSE">OTHER_CAUSE</a></b>
- </div>
- <div class="description">Error code indicating some error other than those enumerated here.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.PASSWORD_MISSING">PASSWORD_MISSING</a></b>
- </div>
- <div class="description">Error code indicating that the password is missing or empty.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.PUSH_MISCONFIGURED">PUSH_MISCONFIGURED</a></b>
- </div>
- <div class="description">Error code indicating that push is misconfigured.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.SCRIPT_FAILED">SCRIPT_FAILED</a></b>
- </div>
- <div class="description">Error code indicating that a Cloud Code script failed.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.SESSION_MISSING">SESSION_MISSING</a></b>
- </div>
- <div class="description">Error code indicating that a user object without a valid session could
- not be altered.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.TIMEOUT">TIMEOUT</a></b>
- </div>
- <div class="description">Error code indicating that the request timed out on the server.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.UNSAVED_FILE_ERROR">UNSAVED_FILE_ERROR</a></b>
- </div>
- <div class="description">Error code indicating an unsaved file.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.UNSUPPORTED_SERVICE">UNSUPPORTED_SERVICE</a></b>
- </div>
- <div class="description">Error code indicating that a service being linked (e.g.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_MISSING">USERNAME_MISSING</a></b>
- </div>
- <div class="description">Error code indicating that the username is missing or empty.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.USERNAME_TAKEN">USERNAME_TAKEN</a></b>
- </div>
- <div class="description">Error code indicating that the username has already been taken.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.VALIDATION_ERROR">VALIDATION_ERROR</a></b>
- </div>
- <div class="description">Error code indicating that a Cloud Code validation failed.</div>
- </td>
- </tr>
-
- <tr>
- <td class="attributes"><static> <constant> </td>
- <td class="nameDescription">
- <div class="fixedFont">
- AV.Error.<b><a href="../symbols/AV.Error.html#.X_DOMAIN_REQUEST">X_DOMAIN_REQUEST</a></b>
- </div>
- <div class="description">Error code indicating a real error code is unavailable because
- we had to use an XDomainRequest object to allow CORS requests in
- Internet Explorer, which strips the body from HTTP responses that have
- a non-2XX status code.</div>
- </td>
- </tr>
-
- </tbody>
- </table>
-
-
-
-
- <!-- ============================== methods summary ======================== -->
-
- <!-- ============================== events summary ======================== -->
-
- <!-- ============================== constructor details ==================== -->
-
- <div class="details"><a name="constructor"> </a>
- <div class="sectionTitle">
- Class Detail
- </div>
-
- <div class="fixedFont">
- <b>AV.Error</b>(code, message)
- </div>
-
- <div class="description">
- Constructs a new AV.Error object with the given code and message.
-
- </div>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="light fixedFont">{Number}</span> <b>code</b>
-
- </dt>
- <dd>An error code constant from <code>AV.Error</code>.</dd>
-
- <dt>
- <span class="light fixedFont">{String}</span> <b>message</b>
-
- </dt>
- <dd>A detailed description of the error.</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
-
- <!-- ============================== field details ========================== -->
-
- <div class="sectionTitle">
- Field Detail
- </div>
-
- <a name=".ACCOUNT_ALREADY_LINKED"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>ACCOUNT_ALREADY_LINKED</b>
-
- </div>
- <div class="description">
- Error code indicating that an an account being linked is already linked
- to another user.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".CACHE_MISS"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>CACHE_MISS</b>
-
- </div>
- <div class="description">
- Error code indicating the result was not found in the cache.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".COMMAND_UNAVAILABLE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>COMMAND_UNAVAILABLE</b>
-
- </div>
- <div class="description">
- Error code indicating that the feature you tried to access is only
- available internally for testing purposes.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".CONNECTION_FAILED"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>CONNECTION_FAILED</b>
-
- </div>
- <div class="description">
- Error code indicating the connection to the AV servers failed.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".DUPLICATE_VALUE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>DUPLICATE_VALUE</b>
-
- </div>
- <div class="description">
- Error code indicating that a unique field was given a value that is
- already taken.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".EMAIL_MISSING"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>EMAIL_MISSING</b>
-
- </div>
- <div class="description">
- Error code indicating that the email is missing, but must be specified.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".EMAIL_NOT_FOUND"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>EMAIL_NOT_FOUND</b>
-
- </div>
- <div class="description">
- Error code indicating that a user with the specified email was not found.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".EMAIL_TAKEN"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>EMAIL_TAKEN</b>
-
- </div>
- <div class="description">
- Error code indicating that the email has already been taken.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".EXCEEDED_QUOTA"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>EXCEEDED_QUOTA</b>
-
- </div>
- <div class="description">
- Error code indicating that an application quota was exceeded. Upgrade to
- resolve.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".FILE_DELETE_ERROR"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>FILE_DELETE_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating an error deleting a file.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".FILE_SAVE_ERROR"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>FILE_SAVE_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating an error saving a file.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".FILE_TOO_LARGE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>FILE_TOO_LARGE</b>
-
- </div>
- <div class="description">
- Error code indicating a file that was too large.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INCORRECT_TYPE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INCORRECT_TYPE</b>
-
- </div>
- <div class="description">
- Error code indicating that a field was set to an inconsistent type.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INTERNAL_SERVER_ERROR"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INTERNAL_SERVER_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating that something has gone wrong with the server.
- If you get this error code, it is AV's fault. Contact us at
- https://avoscloud.com/help
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_ACL"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_ACL</b>
-
- </div>
- <div class="description">
- Error code indicating an invalid ACL was provided.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_CHANNEL_NAME"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_CHANNEL_NAME</b>
-
- </div>
- <div class="description">
- Error code indicating an invalid channel name. A channel name is either
- an empty string (the broadcast channel) or contains only a-zA-Z0-9_
- characters and starts with a letter.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_CLASS_NAME"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_CLASS_NAME</b>
-
- </div>
- <div class="description">
- Error code indicating a missing or invalid classname. Classnames are
- case-sensitive. They must start with a letter, and a-zA-Z0-9_ are the
- only valid characters.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_CONTENT_LENGTH"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_CONTENT_LENGTH</b>
-
- </div>
- <div class="description">
- Error code indicating an invalid content length.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_EMAIL_ADDRESS"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_EMAIL_ADDRESS</b>
-
- </div>
- <div class="description">
- Error code indicating that the email address was invalid.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_FILE_NAME"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_FILE_NAME</b>
-
- </div>
- <div class="description">
- Error code indicating that an invalid filename was used for AVFile.
- A valid file name contains only a-zA-Z0-9_. characters and is between 1
- and 128 characters.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_IMAGE_DATA"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_IMAGE_DATA</b>
-
- </div>
- <div class="description">
- Error code indicating that invalid image data was provided.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_JSON"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_JSON</b>
-
- </div>
- <div class="description">
- Error code indicating that badly formed JSON was received upstream. This
- either indicates you have done something unusual with modifying how
- things encode to JSON, or the network is failing badly.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_KEY_NAME"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_KEY_NAME</b>
-
- </div>
- <div class="description">
- Error code indicating an invalid key name. Keys are case-sensitive. They
- must start with a letter, and a-zA-Z0-9_ are the only valid characters.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_LINKED_SESSION"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_LINKED_SESSION</b>
-
- </div>
- <div class="description">
- Error code indicating that a user with a linked (e.g. Facebook) account
- has an invalid session.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_NESTED_KEY"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_NESTED_KEY</b>
-
- </div>
- <div class="description">
- Error code indicating that an invalid key was used in a nested
- JSONObject.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_POINTER"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_POINTER</b>
-
- </div>
- <div class="description">
- Error code indicating a malformed pointer. You should not see this unless
- you have been mucking about changing internal AV code.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_PUSH_TIME_ERROR"> </a>
- <div class="fixedFont"><static>
-
-
- <span class="light">AV.Error.</span><b>INVALID_PUSH_TIME_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating an invalid push time.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_QUERY"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_QUERY</b>
-
- </div>
- <div class="description">
- Error code indicating you tried to query with a datatype that doesn't
- support it, like exact matching an array or object.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".INVALID_ROLE_NAME"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>INVALID_ROLE_NAME</b>
-
- </div>
- <div class="description">
- Error code indicating that a role's name is invalid.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".LINKED_ID_MISSING"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>LINKED_ID_MISSING</b>
-
- </div>
- <div class="description">
- Error code indicating that a user cannot be linked to an account because
- that account's id could not be found.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".MISSING_CONTENT_LENGTH"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>MISSING_CONTENT_LENGTH</b>
-
- </div>
- <div class="description">
- Error code indicating a missing content length.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".MISSING_CONTENT_TYPE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>MISSING_CONTENT_TYPE</b>
-
- </div>
- <div class="description">
- Error code indicating a missing content type.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".MISSING_OBJECT_ID"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>MISSING_OBJECT_ID</b>
-
- </div>
- <div class="description">
- Error code indicating an unspecified object id.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".MUST_CREATE_USER_THROUGH_SIGNUP"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>MUST_CREATE_USER_THROUGH_SIGNUP</b>
-
- </div>
- <div class="description">
- Error code indicating that a user can only be created through signup.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".NOT_INITIALIZED"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>NOT_INITIALIZED</b>
-
- </div>
- <div class="description">
- You must call AV.initialize before using the AV library.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".OBJECT_NOT_FOUND"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>OBJECT_NOT_FOUND</b>
-
- </div>
- <div class="description">
- Error code indicating the specified object doesn't exist.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".OBJECT_TOO_LARGE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>OBJECT_TOO_LARGE</b>
-
- </div>
- <div class="description">
- Error code indicating that the object is too large.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".OPERATION_FORBIDDEN"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>OPERATION_FORBIDDEN</b>
-
- </div>
- <div class="description">
- Error code indicating that the operation isn't allowed for clients.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".OTHER_CAUSE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>OTHER_CAUSE</b>
-
- </div>
- <div class="description">
- Error code indicating some error other than those enumerated here.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".PASSWORD_MISSING"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>PASSWORD_MISSING</b>
-
- </div>
- <div class="description">
- Error code indicating that the password is missing or empty.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".PUSH_MISCONFIGURED"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>PUSH_MISCONFIGURED</b>
-
- </div>
- <div class="description">
- Error code indicating that push is misconfigured.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".SCRIPT_FAILED"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>SCRIPT_FAILED</b>
-
- </div>
- <div class="description">
- Error code indicating that a Cloud Code script failed.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".SESSION_MISSING"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>SESSION_MISSING</b>
-
- </div>
- <div class="description">
- Error code indicating that a user object without a valid session could
- not be altered.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".TIMEOUT"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>TIMEOUT</b>
-
- </div>
- <div class="description">
- Error code indicating that the request timed out on the server. Typically
- this indicates that the request is too expensive to run.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".UNSAVED_FILE_ERROR"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>UNSAVED_FILE_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating an unsaved file.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".UNSUPPORTED_SERVICE"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>UNSUPPORTED_SERVICE</b>
-
- </div>
- <div class="description">
- Error code indicating that a service being linked (e.g. Facebook or
- Twitter) is unsupported.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".USERNAME_MISSING"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>USERNAME_MISSING</b>
-
- </div>
- <div class="description">
- Error code indicating that the username is missing or empty.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".USERNAME_TAKEN"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>USERNAME_TAKEN</b>
-
- </div>
- <div class="description">
- Error code indicating that the username has already been taken.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".VALIDATION_ERROR"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>VALIDATION_ERROR</b>
-
- </div>
- <div class="description">
- Error code indicating that a Cloud Code validation failed.
-
-
- </div>
-
-
-
-
-
-
- <hr />
-
- <a name=".X_DOMAIN_REQUEST"> </a>
- <div class="fixedFont"><static> <constant>
-
-
- <span class="light">AV.Error.</span><b>X_DOMAIN_REQUEST</b>
-
- </div>
- <div class="description">
- Error code indicating a real error code is unavailable because
- we had to use an XDomainRequest object to allow CORS requests in
- Internet Explorer, which strips the body from HTTP responses that have
- a non-2XX status code.
-
-
- </div>
-
-
-
-
-
-
-
-
-
- <!-- ============================== method details ========================= -->
-
-
- <!-- ============================== event details ========================= -->
-
-
- <hr />
- </div>
-
- <!-- ============================== footer ================================= -->
- <div class="fineprint" style="clear:both">
-
- 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)
- </div>
- </body>
- </html>