Lines Matching refs:error
6 #error This header should only be included if WebAssembly is enabled.
36 // The error message must not be empty, otherwise {empty()} would be true.
46 // The error message must not be empty, otherwise {empty()} would be true.
80 explicit Result(WasmError error) : error_(std::move(error)) {}
91 const WasmError& error() const& { return error_; }
92 WasmError&& error() && { return std::move(error_); }
115 // A helper for generating error messages that bubble up to JS exceptions.
132 void CompileFailed(const WasmError& error) {
133 DCHECK(error.has_error());
134 CompileError("%s @+%u", error.message().c_str(), error.offset());
140 // Reset any error which was set on this thrower.
143 bool error() const { return error_type_ != kNone; }
190 // Use {nullptr_t} as data value to indicate that this only stores the error,