ExceptionHelpers.ObservableThrowKeyNotFoundException(string, Exception?) method¶
Defined in
Type: ExceptionHelpers
Namespace: ReactiveMarbles.CacheDatabase.Core
Assembly: ReactiveMarbles.CacheDatabase.Core.dll
Applies to
netstandard2.0
public static IObservable<T> ObservableThrowKeyNotFoundException<T>(string key, Exception? innerException = null)
Summary: Throws an key not found exception in an observable.
Type parameters
| Name | Description |
|---|---|
T | The type of value. |
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The key not found. |
innerException = null | Exception? | The inner exception if any. |
Returns: IObservable