Class IBlobCache.ExceptionHelpers
- Namespace
- Akavache
- Assembly
- Akavache.dll
Exception helpers for implementers of the class.
- Inheritance
-
IBlob
Cache. Exception Helpers
Methods
ObservableThrowKeyNotFoundException<T>(string, Exception?)
Throws an key not found exception in an observable.
public static IObservable<T> ObservableThrowKeyNotFoundException<T>(string key, Exception? innerException = null)
Parameters
Returns
- IObservable<T>
The observable.
Type Parameters
TThe type of value.
ObservableThrowObjectDisposedException<T>(string, Exception?)
Throws an exception that the object is disposed.
public static IObservable<T> ObservableThrowObjectDisposedException<T>(string obj, Exception? innerException = null)
Parameters
Returns
- IObservable<T>
The observable.
Type Parameters
TThe type of value.