Files
libart-query/art/query/error.hxx
The Artist 85c90c74e0
All checks were successful
on-push / build-and-test (push) Successful in 15s
Hello libart-query
2025-10-18 00:31:14 +02:00

47 lines
683 B
C++

#ifndef art__query__error_hxx_
#define art__query__error_hxx_
#include <art/query/source-location.hxx>
#include <art/query/types.hxx>
namespace art::query
{
class warning_t
{
public:
warning_t(source_location_t, string);
source_location_t const&
origin() const;
string const&
description() const;
private:
source_location_t origin_;
string description_;
};
class error_t
{
public:
error_t(source_location_t source, string);
source_location_t const&
origin() const;
string const&
description() const;
private:
source_location_t origin_;
string description_;
};
} // namespace art::query
#endif