ConstReadonlyactivation/license-token-expired: "The license token expired. Please renew it."An error representing an expired license token.
Readonlyactivation/license-token-unsupported-future-version: "The provided license token is in an unsupported future format."An error representing a token is in an unsupported future format.
Readonlyactivation/license-token-verification-failed: "Please provide a valid license token."An error representing an invalid license token.
Readonlyactivation/not-activated: "The operation failed because the Ditto instance has not yet been activated."The operation failed because it requires an activated Ditto instance.
Readonlyactivation/unnecessary: "Activation is unnecessary for this Ditto instance, because of its identity."Activation is unnecessary for this Ditto instance, because of its identity.
Readonlyauthentication/expiration-handler-missing: "The expiration handler must be set before starting sync."Error when the required expiration handler is not set before starting sync.
Readonlyauthentication/failed-to-authenticate: "Ditto failed to authenticate."Error when authentication failed
Readonlydiffer/identity-key-path-invalid: "A provided identity key path is invalid."Readonlyencryption/extraneous-passphrase-given: "Unexpected passphrase provided for the currently unencrypted store."Error when a passphrase was provided but the store is not encrypted.
This error is not in use for the JavaScript SDK, which currently does not support encrypted stores.
Readonlyinternal: "An unexpected internal error occurred. Please get in touch with Ditto customer service to report this incident."Internal error for unexpected system states
Readonlyio/already-exists: "A file or directory already exists."Error when a file or directory already exists
Readonlyio/not-found: "A file or directory could not be found."Error when a file or directory could not be found
Readonlyio/operation-failed: "The operation failed."Error when an IO operation failed for an unspecified reason. See error message for details.
Readonlyio/permission-denied: "The operation failed due to insufficient permissions."Error when permission is denied for a file operation
Readonlyquery/arguments-invalid: "The query arguments were invalid."Error for invalid DQL query arguments.
Readonlyquery/evaluation: "The query could not be evaluated."Errors that occur during evaluation of a query
Readonlyquery/execution: "The query could not be executed."Errors that occur during execution of a query
Readonlyquery/invalid: "The query was invalid."Error for an invalid DQL query.
Readonlyquery/parameter: "The query to update system parameters failed."Error for a failed query updating system parameters
Readonlyquery/unsupported: "The query contains unsupported features."Error for a query that uses DQL features not supported in this version or not supported by the currently used API.
Readonlystore/attachment-file-not-found: "The source file for the attachment does not exist."The source file for an attachment does not exist.
Readonlystore/attachment-file-permission-denied: "Permission has been denied for a file operation when working with attachments."Permission has been denied for a file operation when working with attachments.
Readonlystore/attachment-not-found: "The attachment could not be found."Attachment could not be found.
Readonlystore/attachment-token-invalid: "The attachment token is invalid."Attachment token is invalid.
Readonlystore/backend: "An error occurred with the storage backend."Error in the storage backend.
Readonlystore/crdt: "An error occurred processing a CRDT."Error for an invalid CRDT.
Readonlystore/document-id: "The document ID is invalid."Error for an invalid document ID.
Readonlystore/document-not-found: "The document with the provided ID could not be found."Error for a document not found.
Readonlystore/failed-to-create-attachment: "The attachment could not be created."An unclassified error while creating an attachment.
Readonlystore/failed-to-fetch-attachment: "The attachment could not be fetched."An unclassified error while fetching an attachment.
Readonlystore/persistence-directory-locked: "The chosen persistence directory is already in use by another Ditto instance."Error when the chosen persistence directory is already in use by another Ditto instance.
Readonlystore/transaction-read-only: "A mutating DQL query was attempted using a read-only transaction."Error for writing to a read-only transaction.
Readonlyunknown: "An unexpected internal error occurred. Please get in touch with Ditto customer service to report this incident."Internal error with an unknown error cause
Readonlyunsupported: "The feature is not supported by the current environment."Error when using a feature not supported by the current environment
Readonlyvalidation/depth-limit-exceeded: "The maximum depth limit has been exceeded."A validation error where the maximum depth limit was exceeded.
Readonlyvalidation/invalid-cbor: "The value provided is not valid CBOR."A validation error where the value is not valid CBOR.
Readonlyvalidation/invalid-ditto-config: "The DittoConfig provided is invalid."A validation error where the DittoConfig is invalid.
Readonlyvalidation/invalid-json: "The value provided is not valid JSON."A validation error where the value is not valid JSON.
Readonlyvalidation/invalid-transport-config: "The TransportConfig is invalid for the active platform."A validation error where the TransportConfig is invalid for the active platform.
Readonlyvalidation/not-an-object: "The value provided is not of type object."A validation error where a value is required to be a JavaScript object
Readonlyvalidation/not-json-compatible: "Value is not serializable as JSON."The value provided can not be serialized as JSON.
Readonlyvalidation/size-limit-exceeded: "The size limit has been exceeded."A validation error where a size limit was exceeded.
Error code and default error message for all Ditto error messages.
Keys of this object define error codes with each value containing the accompanying error description that is set as the default error message for errors instantiated with this code.
Error codes may start with an error domain and a slash to group categories of errors together.