FMTCStoreNotReady constructor

  1. @internal
FMTCStoreNotReady({
  1. required String storeName,
  2. required bool registered,
})

An Error indicating that a store did not exist when it was expected to

Commonly thrown by statistic operations, but can be thrown from multiple other places.

Implementation

@internal
FMTCStoreNotReady({
  required this.storeName,
  required this.registered,
}) : message = registered
          ? "The store ('$storeName') was registered, but the underlying database was not open, at this time. This is an erroneous state in FMTC: if this error appears in your application, please open an issue on GitHub immediately."
          : "The store ('$storeName') does not exist at this time, and is not ready. Ensure that your application does not use the method that triggered this error unless it is sure that the store will exist at this point.";