The containing class is available as OS\HErrnoException in the www repository.
OS\HErrnoException
final public function getHErrno(): HH\Lib\OS\HErrno;
HH\Lib\OS\HErrno