aboutsummaryrefslogtreecommitdiff
path: root/src/common/io/FileNotExistException.cpp
blob: a2e1fdb1ad814b862efea23688d59131f9a0960f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "cru/common/io/FileNotExistException.h"

#include "cru/common/Exception.h"
#include "cru/common/Format.h"

#include <utility>

namespace cru::io {
  FileNotExistException::FileNotExistException(String path): Exception(), path_(std::move(path)) {
    SetMessage(Format(u"File {} does not exist.", path_));
  }
}