Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 9edaceee865e23b8f5931987155afb9a02a01c0d..c09eceeae7a6b60d475571908998f8f8545ba590 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -471,7 +471,16 @@ class CallSite { |
/* EvalError */ \ |
T(CodeGenFromStrings, "%") \ |
/* URIError */ \ |
- T(URIMalformed, "URI malformed") |
+ T(URIMalformed, "URI malformed") \ |
+ /* Wasm errors (currently Error) */ \ |
+ T(WasmTrapUnreachable, "unreachable") \ |
+ T(WasmTrapMemOutOfBounds, "memory access out of bounds") \ |
+ T(WasmTrapDivByZero, "divide by zero") \ |
+ T(WasmTrapDivUnrepresentable, "divide result unrepresentable") \ |
+ T(WasmTrapRemByZero, "remainder by zero") \ |
+ T(WasmTrapFloatUnrepresentable, "integer result unrepresentable") \ |
+ T(WasmTrapFuncInvalid, "invalid function") \ |
+ T(WasmTrapFuncSigMismatch, "function signature mismatch") |
class MessageTemplate { |
public: |