code property

code property

Returns a value that contains one of the error code constants, or 0 if none match. This field is used for historical reasons.

Definition:

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

See Also