P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::Util::CompilationError Class Reference

#include <exceptions.h>

Inheritance diagram for P4::Util::CompilationError:
[legend]

Public Member Functions

template<typename... Args>
 CompilationError (const char *format, Args &&...args)
 
- Public Member Functions inherited from P4::Util::P4CExceptionBase
template<typename... Args>
 P4CExceptionBase (const char *format, Args &&...args)
 
const char * what () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from P4::Util::P4CExceptionBase
void traceCreation ()
 
- Protected Attributes inherited from P4::Util::P4CExceptionBase
std::string message
 

Detailed Description

This class indicates a compilation error that we do not want to recover from. This may be due to a malformed input program.