WebAssembly errors (CompileError, LinkError, RuntimeError)

The JavaScript API provides constructors to create instances of the Error objects specific to WebAssembly, but we won't spend too much time covering these objects. The object definition list at the beginning of this section describes the nature of each error, which may be raised if the specified condition is met. All three errors can be constructed with a message, filename, and line number parameter (all of which are optional), and has the same properties and methods as the standard JavaScript Error object.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset