forErrno
Create the corresponding instance of PosixException with error message provided by the underlying POSIX implementation.
Return
an instance of PosixException or it's subtype
Parameters
errno
error code returned by posix.platform.errno
posixFunctionName
optional function name to be included to the exception message