Sourcemeta Core 0.0.0
Loading...
Searching...
No Matches
metapack_error.h
1#ifndef SOURCEMETA_CORE_METAPACK_ERROR_H_
2#define SOURCEMETA_CORE_METAPACK_ERROR_H_
3
4#ifndef SOURCEMETA_CORE_METAPACK_EXPORT
5#include <sourcemeta/core/metapack_export.h>
6#endif
7
8#include <sourcemeta/core/error.h>
9
10namespace sourcemeta::core {
11
12SOURCEMETA_CORE_ERROR_WARNINGS_PUSH
13
17class SOURCEMETA_CORE_METAPACK_EXPORT MetapackError : public Error {
18public:
21};
22
23SOURCEMETA_CORE_ERROR_WARNINGS_POP
24
25} // namespace sourcemeta::core
26
27#endif
auto message() const noexcept -> StaticString
Definition error_base.h:78
Error(const StaticString message) noexcept
Construct the error given its message.
Definition error_base.h:84
MetapackError(const StaticString message) noexcept
Construct an error with the given message.
Definition metapack_error.h:20
Definition text_static_string.h:20