Struct xpcom::interfaces::nsIDOMDOMException [] [src]

#[repr(C)]
pub struct nsIDOMDOMException { /* fields omitted */ }

interface nsIDOMDOMException : nsISupports

/**
 * In general, DOM methods return specific error values in ordinary
 * processing situations, such as out-of-bound errors.
 * However, DOM operations can raise exceptions in "exceptional"
 * circumstances, i.e., when an operation is impossible to perform
 * (either for logical reasons, because data is lost, or because the
 * implementation has become unstable)
 *
 * For more information on this interface please see
 * http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#domexception
 */

Methods

impl nsIDOMDOMException
[src]

[src]

Cast this nsIDOMDOMException to one of its base interfaces.

impl nsIDOMDOMException
[src]

INDEX_SIZE_ERR: i64 = 1

DOMSTRING_SIZE_ERR: i64 = 2

HIERARCHY_REQUEST_ERR: i64 = 3

WRONG_DOCUMENT_ERR: i64 = 4

INVALID_CHARACTER_ERR: i64 = 5

NO_DATA_ALLOWED_ERR: i64 = 6

NO_MODIFICATION_ALLOWED_ERR: i64 = 7

NOT_FOUND_ERR: i64 = 8

NOT_SUPPORTED_ERR: i64 = 9

INUSE_ATTRIBUTE_ERR: i64 = 10

INVALID_STATE_ERR: i64 = 11

SYNTAX_ERR: i64 = 12

INVALID_MODIFICATION_ERR: i64 = 13

NAMESPACE_ERR: i64 = 14

INVALID_ACCESS_ERR: i64 = 15

VALIDATION_ERR: i64 = 16

TYPE_MISMATCH_ERR: i64 = 17

SECURITY_ERR: i64 = 18

NETWORK_ERR: i64 = 19

ABORT_ERR: i64 = 20

URL_MISMATCH_ERR: i64 = 21

QUOTA_EXCEEDED_ERR: i64 = 22

TIMEOUT_ERR: i64 = 23

INVALID_NODE_TYPE_ERR: i64 = 24

DATA_CLONE_ERR: i64 = 25

INVALID_POINTER_ERR: i64 = 26

[src]

readonly attribute unsigned short code;

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIDOMDOMException
[src]

IID: nsIID = nsID(1540843219, 22441, 18483, [153, 93, 219, 226, 29, 162, 149, 149])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIDOMDOMException
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIDOMDOMException
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.