error property

error property

The error attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. Where appropriate, it is set to the object representing the error (e.g. the exception object in the case of an uncaught DOM exception).

Definition:

@property
def error(self):
    ...
@error.setter
def error(self, value):
    ...

See Also