26class SOURCEMETA_BLAZE_CONVERT_EXPORT ConvertUnsupportedDialectError
27 :
public std::exception {
29 ConvertUnsupportedDialectError(
const std::string_view identifier,
30 sourcemeta::core::Pointer location)
31 : identifier_{identifier}, location_{std::move(location)} {}
33 [[nodiscard]]
auto what()
const noexcept ->
const char *
override {
34 return "The conversion does not support this dialect";
37 [[nodiscard]]
auto identifier()
const noexcept -> std::string_view {
38 return this->identifier_;
41 [[nodiscard]]
auto location()
const noexcept
42 ->
const sourcemeta::core::Pointer & {
43 return this->location_;
47 std::string identifier_;
48 sourcemeta::core::Pointer location_;
53class SOURCEMETA_BLAZE_CONVERT_EXPORT ConvertUnsupportedMetaschemaError
54 :
public std::exception {
56 ConvertUnsupportedMetaschemaError(
const std::string_view identifier,
57 sourcemeta::core::Pointer location)
58 : identifier_{identifier}, location_{std::move(location)} {}
60 [[nodiscard]]
auto what()
const noexcept ->
const char *
override {
61 return "The conversion does not support meta-schemas";
64 [[nodiscard]]
auto identifier()
const noexcept -> std::string_view {
65 return this->identifier_;
68 [[nodiscard]]
auto location()
const noexcept
69 ->
const sourcemeta::core::Pointer & {
70 return this->location_;
74 std::string identifier_;
75 sourcemeta::core::Pointer location_;
80class SOURCEMETA_BLAZE_CONVERT_EXPORT ConvertInvalidReferenceError
81 :
public std::exception {
83 ConvertInvalidReferenceError(
const std::string_view identifier,
84 sourcemeta::core::Pointer location)
85 : identifier_{identifier}, location_{std::move(location)} {}
87 [[nodiscard]]
auto what()
const noexcept ->
const char *
override {
88 return "The reference does not point to a schema";
91 [[nodiscard]]
auto identifier()
const noexcept -> std::string_view {
92 return this->identifier_;
95 [[nodiscard]]
auto location()
const noexcept
96 ->
const sourcemeta::core::Pointer & {
97 return this->location_;
101 std::string identifier_;
102 sourcemeta::core::Pointer location_;
107class SOURCEMETA_BLAZE_CONVERT_EXPORT ConvertBrokenReferenceError
108 :
public std::exception {
110 ConvertBrokenReferenceError(
const std::string_view identifier,
111 sourcemeta::core::Pointer location)
112 : identifier_{identifier}, location_{std::move(location)} {}
114 [[nodiscard]]
auto what()
const noexcept ->
const char *
override {
115 return "The reference broke after transformation";
118 [[nodiscard]]
auto identifier()
const noexcept -> std::string_view {
119 return this->identifier_;
122 [[nodiscard]]
auto location()
const noexcept
123 ->
const sourcemeta::core::Pointer & {
124 return this->location_;
128 std::string identifier_;
129 sourcemeta::core::Pointer location_;