[][src]Module webext_storage::ffi::error_codes

Constants

INVALID_JSON

The application passed an invalid JSON string for a storage key or value.

QUOTA_ITEM_BYTES_EXCEEDED

A single key-value pair exceeds the allowed byte limit when serialized to JSON.

QUOTA_MAX_ITEMS_EXCEEDED

The total number of key-value pairs stored for this extension exceeded the allowed limit.

QUOTA_TOTAL_BYTES_EXCEEDED

The total number of bytes stored in the database for this extension, counting all key-value pairs serialized to JSON, exceeds the allowed limit.

UNEXPECTED

An unexpected error occurred which likely cannot be meaningfully handled by the application.