Package-level declarations

Types

Link copied to clipboard
sealed interface AbstractJsException

This sealed interface serves as the base type for all known JavaScript guest exception types (not counting user code which creates such types). Implementations or interfaces which extend this class implement core JavaScript exception types which are surfaced from intrinsics.

Link copied to clipboard
abstract class Error(extraProps: Array<Pair<String, Value>>) : RuntimeException, AbstractJsException, GuestError, ProxyObject

Describes the generic interface defined by JavaScript guest errors; properties on instances of this class are made available to guest code.

Link copied to clipboard
interface JsError
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class QuotaExceededError(val message: String) : ValueError
Link copied to clipboard

This type implements the API surface of a RangeError exception raised within the context of an executing JavaScript guest. RangeError instances are typically raised when a value is passed to a function or operation that is not within a given required range.

Link copied to clipboard
interface Stacktrace

TBD.

Link copied to clipboard
open class TypeError : Error, ProxyObject, AbstractJsException

This type implements the API surface of a TypeError exception raised within the context of an executing JavaScript guest. TypeError instances are typically raised when a value is passed to a function or operation that is not of a legal or valid type.

Link copied to clipboard
open class ValueError : Error, AbstractJsException, ProxyObject

This type implements the API surface of a ValueError exception raised within the context of an executing JavaScript guest. ValueError instances are typically raised when a value is passed to a function or operation that is not valid or legal, although the type of the value is legal.