2023-12-30 22:42:11 +00:00
|
|
|
//SPDX-FileCopyrightText: 2023 Yury Gubich <blue@macaw.me>
|
|
|
|
//SPDX-License-Identifier: GPL-3.0-or-later
|
2023-12-28 20:26:08 +00:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <exception>
|
|
|
|
|
|
|
|
#include "accepting.h"
|
|
|
|
|
|
|
|
class Redirect : std::exception {
|
|
|
|
public:
|
|
|
|
Redirect(Accepting* destination);
|
|
|
|
|
|
|
|
Accepting* destination;
|
|
|
|
const char* what() const noexcept override;
|
2023-12-30 22:42:11 +00:00
|
|
|
};
|