blob: 1c23fb63306a82e16135298ac2be2a21f1624acc [file] [log] [blame]
#ifndef ARCH_ERROR_H
#define ARCH_ERROR_H
#include "vtr_error.h"
#include <cstdarg>
void archfpga_throw(const char* filename, int line, const char* fmt, ...);
class ArchFpgaError : public vtr::VtrError {
public:
ArchFpgaError(std::string msg="", std::string new_filename="", size_t new_linenumber=-1)
: vtr::VtrError(msg, new_filename, new_linenumber){}
};
#endif