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

#include <error_catalog.h>

Static Public Attributes

static const int ERR_DUPLICATE = 13
 
static const int ERR_EXPECTED = 5
 
static const int ERR_EXPRESSION = 8
 
static const int ERR_INSUFFICIENT = 10
 
static const int ERR_INVALID = 7
 
static const int ERR_IO = 14
 
static const int ERR_MAX = 999
 
static const int ERR_MIN_BACKEND = 500
 
static const int ERR_MODEL = 16
 
static const int ERR_NOT_FOUND = 6
 
static const int ERR_OVERLIMIT = 9
 
static const int ERR_RESERVED = 17
 
static const int ERR_TYPE_ERROR = 11
 
static const int ERR_UNEXPECTED = 3
 
static const int ERR_UNINITIALIZED = 4
 
static const int ERR_UNKNOWN = 1
 
static const int ERR_UNREACHABLE = 15
 
static const int ERR_UNSUPPORTED = 2
 
static const int ERR_UNSUPPORTED_ON_TARGET = 12
 
static const int INFO_INFERRED = WARN_MAX + 1
 
static const int INFO_MAX = 3999
 
static const int INFO_MIN_BACKEND = 3000
 
static const int INFO_PROGRESS = 2143
 
static const int LEGACY_ERROR = 0
 
static const int LEGACY_WARNING = ERR_MAX + 1
 
static const int WARN_DEPRECATED = 1005
 
static const int WARN_DUPLICATE = 1025
 
static const int WARN_DUPLICATE_PRIORITIES = 1021
 
static const int WARN_ENTRIES_OUT_OF_ORDER = 1022
 
static const int WARN_EXPRESSION = 1024
 
static const int WARN_FAILED = 1001
 
static const int WARN_IGNORE = 1017
 
static const int WARN_IGNORE_PROPERTY = 1012
 
static const int WARN_INVALID = 1003
 
static const int WARN_INVALID_HEADER = 1020
 
static const int WARN_MAX = 2141
 
static const int WARN_MIN_BACKEND = 1500
 
static const int WARN_MISMATCH = 1010
 
static const int WARN_MISSING = 1008
 
static const int WARN_MULTI_HDR_EXTRACT = 1023
 
static const int WARN_ORDERING = 1009
 
static const int WARN_OVERFLOW = 1011
 
static const int WARN_PARSER_TRANSITION = 1014
 
static const int WARN_SHADOWING = 1016
 
static const int WARN_TYPE_INFERENCE = 1013
 
static const int WARN_UNINITIALIZED = 1006
 
static const int WARN_UNINITIALIZED_OUT_PARAM = 1018
 
static const int WARN_UNINITIALIZED_USE = 1019
 
static const int WARN_UNKNOWN = 1002
 
static const int WARN_UNREACHABLE = 1015
 
static const int WARN_UNSUPPORTED = 1004
 
static const int WARN_UNUSED = 1007
 

Detailed Description

enumerate supported errors It is a class and not an enum class because in C++11 you can't extend an enum class