[#subprocess-error-2constructor-01]
= xref:subprocess.adoc[subprocess]::xref:subprocess/error.adoc[error]::error
:relfileprefix: ../../
:mrdocs:

Sets up the error channel as a pipe, or as a copy of standard output&period;

== Synopsis

Declared in `&lt;util&sol;subprocess&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
error(xref:subprocess/IOTYPE.adoc[IOTYPE] typ);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *typ*
| Channel type, either PIPE or STDOUT&semi; STDOUT defers wiring until all arguments are known&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
