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

Opens a file for appending and uses it as the child&apos;s error channel&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
error(char const* filename);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *filename*
| Path of the file to create or append to&period;
|===


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