|
FE 0.13.1
Header-only C++ frontend library
|
What Error::ack and Error::bail throw. More...
#include <fe/error.h>
Public Member Functions | |
| Bail (std::string what, size_t num_errors, size_t num_warnings) | |
| const char * | what () const noexcept override |
| size_t | num_errors () const |
| size_t | num_warnings () const |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Bail &bail) |
What Error::ack and Error::bail throw.
It carries the finished text, so nothing in here points into a SrcMap any more and it may propagate past the Driver - and the Srcs - that produced it.
|
inline |
Definition at line 36 of file error.h.
References num_errors(), num_warnings(), and what().
Referenced by fe::Error::bail(), and operator<<.
|
inline |
|
inline |
|
inlineoverridenoexcept |
|
friend |
Definition at line 45 of file error.h.
References Bail(), and fe::Error::bail().