pub fn error_stream_with_code(
message: String,
code: String,
provenance: Vec<String>,
recoverable: bool,
) -> Pin<Box<dyn Stream<Item = PlexusStreamItem> + Send>>Expand description
Create an error stream with error code
Returns a single-item stream containing an error event with a code.