module Error: sig .. end
Javascript errors.
type t = {
|
message : string; |
|
filename : string option; |
|
line : string option; |
|
lineno : int; |
|
colno : int; |
}
exception Message of t
exception RuntimeDestroyed
Raised after a call to destroy_runtime when
a new closure is created (lambda method) or when
a JS script call a closure.
exception InvalidRuntime
Raised when values from different runtimes are mixed together.
exception InvalidType
Raised when a value of some JS type is used as a value
of another type.