MCPcopy Create free account
hub / github.com/WebAssembly/wabt / GetErrorLevelName

Function GetErrorLevelName

include/wabt/error.h:33–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31};
32
33static inline const char* GetErrorLevelName(ErrorLevel error_level) {
34 switch (error_level) {
35 case ErrorLevel::Warning:
36 return "warning";
37 case ErrorLevel::Error:
38 return "error";
39 }
40 WABT_UNREACHABLE;
41}
42
43class Error {
44 public:

Callers 2

FormatErrorFunction · 0.85
PrintErrorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected