Under heavy development. This site describes the intended 1.0 language. Current features and performance vary. Development status
Sn50SnThe SnAPI programming language
Development · Evolving reference

ProcessStreamError

Preserves native failures or an exact stream failure with its channel. Detached owned error has no borrowed spans or native resource. Stream errors retain the original operation's proven partial transfer metadata; prior chunks remain observable in the caller-owned sink. Native cleanup completes before publication.

Sn is under heavy development. This reference includes the intended 1.0 design; features may be incomplete in the current compiler. Read the status →

Module std.process

import std.process;

Public declaration contracts and authored examples. A page can document several related symbols. Implementation bodies are excluded.

ProcessStreamError

pub enum ProcessStreamError

Preserves native failures or an exact stream failure with its channel. Detached owned error has no borrowed spans or native resource. Stream errors retain the original operation's proven partial transfer metadata; prior chunks remain observable in the caller-owned sink. Native cleanup completes before publication.

ProcessStreamError.Process

Process;

Launch, native pump, timeout or cancellation failure.

ProcessStreamError.Process.Error

Error: ProcessError;

ProcessStreamError.Input

Input;

Stdin reader failed or published an invalid count.

ProcessStreamError.Input.Error

Error: IoError;

ProcessStreamError.Output

Output;

Stdout writer failed during complete-chunk transfer.

ProcessStreamError.Output.Error

Error: IoError;

ProcessStreamError.Error

Error;

Stderr writer failed during complete-chunk transfer.

ProcessStreamError.Error.Error

Error: IoError;
Documentation snapshot: October 24, 2026 About versions ↗
Searching Development · language & standard library