Skip to content

Commit 199dd4f

Browse files
committed
export named type validator exceptions
1 parent 2d36ce3 commit 199dd4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/adm/detail/named_type_validators.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77

88
namespace adm {
99

10-
struct OutOfRangeError : public std::runtime_error {
10+
struct ADM_EXPORT OutOfRangeError : public std::runtime_error {
1111
explicit OutOfRangeError(const char* msg) : std::runtime_error(msg) {}
1212
explicit OutOfRangeError(const std::string& msg)
1313
: std::runtime_error(msg) {}
1414
};
15-
struct InvalidValueError : public std::runtime_error {
15+
struct ADM_EXPORT InvalidValueError : public std::runtime_error {
1616
explicit InvalidValueError(const char* msg) : std::runtime_error(msg) {}
1717
explicit InvalidValueError(const std::string& msg)
1818
: std::runtime_error(msg) {}
1919
};
20-
struct InvalidStringError : public std::runtime_error {
20+
struct ADM_EXPORT InvalidStringError : public std::runtime_error {
2121
explicit InvalidStringError(const char* msg) : std::runtime_error(msg) {}
2222
explicit InvalidStringError(const std::string& msg)
2323
: std::runtime_error(msg) {}

0 commit comments

Comments
 (0)