• Preparing search index...
  • The search index is not available
@juulsgaard/rxjs-tools
  • @juulsgaard/rxjs-tools
  • Loading
  • FromError

Function FromError

  • FromError<TVal>(error): IValueLoadingState<TVal>
  • Generate a state representing an error

    Type Parameters

    • TVal

    Parameters

    • error: (() => Error)

      A generator for the error to emit

        • (): Error
        • Returns Error

    Returns IValueLoadingState<TVal>

    • Defined in src/loading-state/loading-constructors.ts:59
  • FromError(error): ILoadingState
  • Generate a state representing an error

    Parameters

    • error: Error

      The error to emit

    Returns ILoadingState

    • Defined in src/loading-state/loading-constructors.ts:65

Settings

Member Visibility
@juulsgaard/rxjs-tools
  • Loading...

Generated using TypeDoc