HH\Lib\IO\request_errorx
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as IO\request_errorx()
in Facebook's www repository.
Return the error output handle for the current request
namespace HH\Lib\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.