throwIfError method
void
throwIfError()
If this StoreResponse is of type ErrorStoreResponse, throws the exception Otherwise, does nothing.
Implementation
void throwIfError() {
if (this is ErrorStoreResponse) {
(this as ErrorStoreResponse).doThrow();
}
}