message property

message property

The message attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the error message.

Definition:

@property
def message(self):
    ...

See Also