rong_exception 0.3.0

Exception module for RongJS
docs.rs failed to build rong_exception-0.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rong_exception-0.1.1

rong_exception

Implements the Web DOMException API for structured error reporting.

JS APIs

  • DOMException — structured exception type (extends Error)
    • new DOMException(message?, name?) — create with a message and named error type
    • name — error name (e.g., AbortError, TimeoutError, NotSupportedError)
    • message — error message
    • stack — stack trace

Supported error names include: AbortError, InvalidStateError, NetworkError, NotFoundError, NotSupportedError, QuotaExceededError, SecurityError, SyntaxError, TimeoutError, DataCloneError, and others per the Web IDL spec.