feat: adjust docs

This commit is contained in:
Christy Jacob 2022-02-07 01:42:03 +04:00
parent c46900f067
commit c861d3c52f

View file

@ -14,14 +14,25 @@ class Exception extends \Exception
* *
* Appwrite has the follwing entities: * Appwrite has the follwing entities:
* - Users * - Users
* - Projects * - OAuth
* - Sessions
* - Teams * - Teams
* - Memberships * - Memberships
* - Files * - Avatars
* - Storage
* - Functions * - Functions
* - Deployments * - Deployments
* - Executions * - Executions
* - Collections
* - Documents
* - Attributes
* - Indexes
* - Queries
* - Projects
* - Webhooks
* - Keys
* - Platform
* - Domain
* - General
*/ */
/** Users */ /** Users */
@ -89,8 +100,8 @@ class Exception extends \Exception
const COLLECTION_NOT_FOUND = 'collection_not_found'; const COLLECTION_NOT_FOUND = 'collection_not_found';
const COLLECTION_ALREADY_EXISTS = 'collection_already_exists'; const COLLECTION_ALREADY_EXISTS = 'collection_already_exists';
const COLLECTION_LIMIT_EXCEEDED = 'collection_limit_exceeded'; const COLLECTION_LIMIT_EXCEEDED = 'collection_limit_exceeded';
/** Documents */
/** Documents */
const DOCUMENT_NOT_FOUND = 'document_not_found'; const DOCUMENT_NOT_FOUND = 'document_not_found';
const DOCUMENT_INVALID_STRUCTURE = 'document_invalid_structure'; const DOCUMENT_INVALID_STRUCTURE = 'document_invalid_structure';
const DOCUMENT_MISSING_PAYLOAD = 'document_missing_payload'; const DOCUMENT_MISSING_PAYLOAD = 'document_missing_payload';