Const
Readonly
activation/license-An error representing an expired license token.
Readonly
activation/license-An error representing a token is in an unsupported future format.
Readonly
activation/license-An error representing an invalid license token.
Readonly
activation/not-The operation failed because it requires an activated Ditto instance.
Readonly
internal: "An unexpected internal error occurred. Please get in touch with Ditto customer service to report this incident."Internal error for unexpected system states
Readonly
internal/unknown-Internal error with an unknown error cause
Readonly
io/already-Error when a file or directory already exists
Readonly
io/not-Error when a file or directory could not be found
Readonly
io/operation-Error when an IO operation failed for an unspecified reason. See error message for details.
Readonly
io/permission-Error when permission is denied for a file operation
Readonly
query/arguments-Error for invalid DQL query arguments.
Readonly
query/execution: "The query could not be executed."Errors that occur during execution of a query
Readonly
query/invalid: "The query was invalid."Error for an invalid DQL query.
Readonly
query/parameter: "The query to update system parameters failed."Error for a failed query updating system parameters
Readonly
query/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.
Readonly
sdk/unsupported: "The feature is not supported by the current environment."Error when using a feature not supported by the current environment
Readonly
store/attachment-The source file for an attachment does not exist.
Readonly
store/attachment-Permission has been denied for a file operation when working with attachments.
Readonly
store/attachment-Attachment could not be found.
Readonly
store/attachment-Attachment token is invalid.
Readonly
store/backend: "An error occurred with the storage backend."Error in the storage backend.
Readonly
store/crdt: "An error occurred processing a CRDT."Error for an invalid CRDT.
Readonly
store/document-Error for a document not found.
Readonly
store/failed-An unclassified error while creating an attachment.
Readonly
store/failed-An unclassified error while fetching an attachment.
Readonly
validation/depth-A validation error where the maximum depth limit was exceeded.
Readonly
validation/invalid-A validation error where the value is not valid CBOR.
Readonly
validation/invalid-A validation error where the value is not valid JSON.
Readonly
validation/not-A validation error where a value is required to be a JavaScript object
Readonly
validation/not-The value provided can not be serialized as JSON.
Readonly
validation/size-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.