Brunot
Loading...
Searching...
No Matches
PathException.h
Go to the documentation of this file.
1
10
// ____ __ __ __
11
// /\__ _\/\ \ /\ \/\ \
12
// \/_/\ \/\ \ \___ __ \ \ \_\ \ ___ __ __ ____ __
13
// \ \ \ \ \ _ `\ /'__`\ \ \ _ \ / __`\/\ \/\ \ /',__\ /'__`\
14
// \ \ \ \ \ \ \ \/\ __/ \ \ \ \ \/\ \L\ \ \ \_\ \/\__, `\/\ __/
15
// \ \_\ \ \_\ \_\ \____\ \ \_\ \_\ \____/\ \____/\/\____/\ \____\
16
// \/_/ \/_/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/___/ \/____/
17
18
19
#pragma once
20
#include <string>
21
22
23
class
PathException
:
public
std::exception
24
{
25
public
:
30
PathException
(std::string message)
31
:
message_
(std::move(message))
32
{
33
}
34
39
auto
what
() const -> const
char
*
override
40
{
41
return
message_
.c_str();
42
}
43
44
private
:
45
std::string
message_
;
46
};
PathException::what
auto what() const -> const char *override
Definition
PathException.h:39
PathException::message_
std::string message_
Definition
PathException.h:45
PathException::PathException
PathException(std::string message)
Constructor.
Definition
PathException.h:30
The House
source
Utility
Path
PathException.h
Generated by
1.15.0