Contents

init(error:)

Creates a publisher that immediately terminates with the specified failure.

Declaration

init(error: Failure)

Parameters

  • error:

    The failure to send when terminating the publisher.

See Also

Creating a fail publisher