2025-02-20 05:32:33 -05:00

48 lines
893 B
C++

// Copyright 2025 xensik. All rights reserved.
//
// Use of this source code is governed by a GNU GPLv3 license
// that can be found in the LICENSE file.
#pragma once
namespace xsk::gsc
{
struct error : public std::runtime_error
{
public:
explicit error(std::string const& what);
};
struct asm_error : public std::runtime_error
{
public:
explicit asm_error(std::string const& what);
};
struct disasm_error : public std::runtime_error
{
public:
explicit disasm_error(std::string const& what);
};
struct ppr_error : public std::runtime_error
{
public:
ppr_error(location const& loc, std::string const& what);
};
struct comp_error : public std::runtime_error
{
public:
comp_error(location const& loc, std::string const& what);
};
struct decomp_error : public std::runtime_error
{
public:
explicit decomp_error(std::string const& what);
};
} // namespace xsk::gsc