fetus Diary

2008/05/28(水) - fuse + boost

動いていなかったのは、boost::filesystem が投げる例外を catch していなかったことが原因らしいのだけど…

NowanoOperationsHandler catch exception
  Native error: 0
  error: 2
  who: boost::filesystem::path
  path1:
  path2:

エラーコード 2 ってなーんだ

    enum error_code
    {
      no_error = 0,
      system_error,     // system generated error; if possible, is translated
                        // to one of the more specific errors below.
      other_error,      // library generated error
      security_error,   // includes access rights, permissions failures
      read_only_error,
      io_error,
      path_error,
      not_found_error,
      not_directory_error,
      busy_error,       // implies trying again might succeed
      already_exists_error,
      not_empty_error,
      is_directory_error,
      out_of_space_error,
      out_of_memory_error,
      out_of_resource_error
    };

…… other_error って orz

文字コードかなぁー

コメント

コメントはありません。

名前
メール
コメント

※HTML タグは使えません。HTTP URL には自動リンクが張られます。

Captcha
画像から読み取れる文字を入力: