#pragma once

#include "src/TargetController/Exceptions/TargetOperationFailure.hpp"

namespace Bloom::Exceptions
{
    class DebugWirePhysicalInterfaceError: public TargetOperationFailure
    {
    public:
        explicit DebugWirePhysicalInterfaceError(const std::string& message): TargetOperationFailure(message) {
            this->message = message;
        }

        explicit DebugWirePhysicalInterfaceError(const char* message): TargetOperationFailure(message) {
            this->message = std::string(message);
        }
    };
}
