public static function Read(
      string $file, string $message = null, int $code = \E_USER_ERROR, \Throwable $previous = null )
   : FileAccessException
   {

      return new FileAccessException (
         $file,
         FileAccessException::ACCESS_READ,
         $message,
         $code,
         $previous
      );

   }
public static function Read(
      string $file, string $message = null, int $code = \E_USER_ERROR, \Throwable $previous = null )
   : FileAccessException
   {

      return new FileAccessException (
         $file,
         FileAccessException::ACCESS_READ,
         $message,
         $code,
         $previous
      );

   }
public static function Read ( string $ file , string $ message = null , int $ code = \ E_USER_ERROR , \ Throwable $ previous = null ) : FileAccessException { return new FileAccessException ( $ file , FileAccessException :: ACCESS_READ , $ message , $ code , $ previous ) ; }
Init's a new \Niirrty\IO\FileAccessException for file read mode.

@param  string     $file     The file where reading fails.
@param  string     $message  The optional error message.
@param  integer    $code     A optional error code (Defaults to \E_USER_ERROR)
@param  \Throwable $previous A Optional previous exception.
@return \Niirrty\IO\FileAccessException
Init s a new \ Niirrty \ IO \ FileAccessException for file read mode .