Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b81b6 commit b1ead4aCopy full SHA for b1ead4a
liblangutil/Exceptions.h
@@ -170,6 +170,8 @@ class Error: virtual public util::Exception
170
public:
171
enum class Type
172
{
173
+ Info,
174
+ Warning,
175
CodeGenerationError,
176
DeclarationError,
177
DocstringParsingError,
@@ -185,15 +187,14 @@ class Error: virtual public util::Exception
185
187
UnimplementedFeatureError,
186
188
YulException,
189
SMTLogicException,
- Warning,
- Info
190
};
191
192
enum class Severity
193
194
- Error,
+ // NOTE: We rely on these being ordered from least to most severe.
195
196
Warning,
197
+ Error,
198
199
200
Error(
0 commit comments