P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHV::Error Class Reference

#include <error.h>

Inheritance diagram for PHV::Error:
[legend]

Public Member Functions

bool is (ErrorCode c)
 
void set (ErrorCode c)
 

Public Attributes

ErrorCode code
 

Detailed Description

Error represents an error of internal phv function call. It stores a string of reason for debug and an error code.