Dart API Referencedart:htmlIDBDatabaseException

IDBDatabaseException Interface

In the IndexedDB API, an IDBDatabaseException object represents exception conditions that can be encountered while performing database operations.

Static Fields

Code final int ABORT_ERR #

static final int ABORT_ERR = 20;

Code final int CONSTRAINT_ERR #

static final int CONSTRAINT_ERR = 4;

Code final int DATA_ERR #

static final int DATA_ERR = 5;

Code final int NON_TRANSIENT_ERR #

static final int NON_TRANSIENT_ERR = 2;

Code final int NOT_ALLOWED_ERR #

static final int NOT_ALLOWED_ERR = 6;

Code final int NOT_FOUND_ERR #

static final int NOT_FOUND_ERR = 8;

Code final int NO_ERR #

static final int NO_ERR = 0;

Code final int QUOTA_ERR #

static final int QUOTA_ERR = 22;

Code final int READ_ONLY_ERR #

static final int READ_ONLY_ERR = 9;

Code final int TIMEOUT_ERR #

static final int TIMEOUT_ERR = 23;

Code final int TRANSACTION_INACTIVE_ERR #

static final int TRANSACTION_INACTIVE_ERR = 7;

Code final int UNKNOWN_ERR #

static final int UNKNOWN_ERR = 1;

Code final int VER_ERR #

static final int VER_ERR = 12;

Methods

Code String toString() #

String toString();

Fields

Code final int code #

The most appropriate error code for the condition.
final int code;

Code final String message #

Error message describing the exception raised.
final String message;

Code final String name #

final String name;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.