HH\Lib\Experimental\IO\request_errorx

Return the error output handle for the current request

namespace HH\Lib\Experimental\IO;

function request_errorx(): CloseableWriteHandle;

This is usually only available for CLI scripts; it will throw an NotFoundException in most other contexts, including HTTP requests.

For a non-throwing version, use request_error().

In CLI mode, this is usually the process STDERR.

Returns