2024-01-14 06:11:26 -05:00
|
|
|
// Copyright 2024 xensik. All rights reserved.
|
2023-01-23 17:31:08 -05:00
|
|
|
//
|
|
|
|
// Use of this source code is governed by a GNU GPLv3 license
|
|
|
|
// that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2023-03-02 10:41:32 -05:00
|
|
|
namespace xsk::arc
|
2023-01-23 17:31:08 -05:00
|
|
|
{
|
|
|
|
|
|
|
|
class error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
error(std::string const& what);
|
|
|
|
};
|
|
|
|
|
|
|
|
class asm_error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
asm_error(std::string const& what);
|
|
|
|
};
|
|
|
|
|
|
|
|
class disasm_error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
disasm_error(std::string const& what);
|
|
|
|
};
|
|
|
|
|
2023-01-30 07:48:27 -05:00
|
|
|
class ppr_error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ppr_error(location const& loc, std::string const& what);
|
|
|
|
};
|
|
|
|
|
2023-01-23 17:31:08 -05:00
|
|
|
class comp_error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
comp_error(location const& loc, std::string const& what);
|
|
|
|
};
|
|
|
|
|
|
|
|
class decomp_error : public std::runtime_error
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
decomp_error(std::string const& what);
|
|
|
|
};
|
|
|
|
|
2023-03-02 10:41:32 -05:00
|
|
|
} // namespace xsk::arc
|