Skip to main content

error_stream

Function error_stream 

Source
pub fn error_stream(
    error: RemoteError,
    provenance: Vec<String>,
    recoverable: bool,
) -> PlexusStream
Expand description

Create an error stream

Returns a single-item stream containing an error frame carrying error. From a PlexusError: error_stream(RemoteError::from(&e), provenance, false).