DataStoreException class Null safety

An exception that provides information on a data store access or error thrown by data stores. Each DataStoreException provides the following information: A string describing the error, available via the method getMesasge. An integer error code that is specific to a data store. This is the actual error code returned by the underlying data store. And a Instance of actual exception returned by the data store.

Implemented types


DataStoreException(String message, {int? vendorErrorCode, Exception? vendorException})


hashCode int
The hash code for this object. [...]
read-only, inherited
message String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
vendorErrorCode int?
read / write
vendorException Exception?
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns the cause of the exception @return String : Returns the exception cause.


operator ==(Object other) bool
The equality operator. [...]