Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
throw_or_abort.hpp
Go to the documentation of this file.
1#pragma once
3#include "log.hpp"
4#include <string>
5
6inline void throw_or_abort [[noreturn]] (std::string const& err)
7{
8 throw_or_abort_impl(err.c_str());
9}
void throw_or_abort(std::string const &err)
void throw_or_abort_impl(const char *err)