The exception handling proposal adds typed exception tags and WebAssembly exception objects. Runtime support varies, so pages must feature-detect before running examples.

  • Tags define payload types.
  • Exception objects can carry tag data.
  • JavaScript may inspect tag identity and retrieve arguments through supported APIs.
  • Validation constrains thrown payload types.