public static function Write(
      string $package, string $folder, string $message = null, int $code = \E_USER_ERROR, \Throwable $previous = null )
   : FolderAccessError
   {
      return new FolderAccessError(
         $package,
         $folder,
         static::ACCESS_WRITE,
         $message,
         $code,
         $previous
      );
   }
public static function Write(
      string $package, string $folder, string $message = null, int $code = \E_USER_ERROR, \Throwable $previous = null )
   : FolderAccessError
   {
      return new FolderAccessError(
         $package,
         $folder,
         static::ACCESS_WRITE,
         $message,
         $code,
         $previous
      );
   }
public static function Write ( string $ package , string $ folder , string $ message = null , int $ code = \ E_USER_ERROR , \ Throwable $ previous = null ) : FolderAccessError { return new FolderAccessError ( $ package , $ folder , static :: ACCESS_WRITE , $ message , $ code , $ previous ) ; }
Init a new \Beluga\IO\FolderAccessError for folder write mode.

@param string      $package
@param  string     $folder   The folder 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 \Beluga\IO\FolderAccessError
Init a new \ Beluga \ IO \ FolderAccessError for folder write mode .