Expand description
A module containing error types.
Structs§
- Abort
Error - Used to indicate that the operation was aborted.
- DomException
- A reference to a JavaScript
DOMException
object. - Error
- A reference to a JavaScript
Error
object. AnError
is thrown whenever a run-time error occurs. - Hierarchy
Request Error - Occurs when an operation would result in an incorrect node tree.
- Index
Size Error - Occurs when an argument is out of range.
- Invalid
Access Error - Occurs when an object does not support an operation or argument.
- Invalid
Character Error - Used to indicate the string contains one or more characters which are invalid.
- Invalid
State Error - Occurs when an object is in an invalid state.
- NotFound
Error - Occurs when the specified object cannot be found.
- NotSupported
Error - Used to indicate an unsuccessful operation when none of the other NativeError objects are an appropriate indication of the failure cause.
- Security
Error - Occurs when the requested operation is insecure.
- Syntax
Error - Occurs when an argument does not match the expected pattern.
- Type
Error - Used to indicate an unsuccessful operation when none of the other NativeError objects are an appropriate indication of the failure cause.
- Unknown
Value Error - Indicates that an invalid value is setted to an
SelectElement
. It means there is no<option>
element that has the given value.
Enums§
- AddColor
Stop Error - A enum of the exceptions that CanvasGradient.add_color_stop() may throw
- Draw
Image Error - A enum of the exceptions that CanvasRenderingContext2D.draw_image() and similar may throw
- GetImage
Data Error - A enum of the exceptions that CanvasRenderingContext2D.get_image_data() may throw
- XhrSet
Response Type Error - An error returned from
XmlHttpRequest::set_response_type
Traits§
- IDom
Exception - The
IDomException
interface represents an abnormal event which occurs as the result of calling a web API. - IError
- Represents the JavaScript
Error
interface. AnError
is thrown whenever a run-time error occurs.