FailedToSendEmailException

class FailedToSendEmailException[source]

Exception raised when sending some or all emails failed.

all_users: Sequence[NormalUser | GroupUser]

All users that should be emailed.

failed_users: Sequence[NormalUser | GroupUser]

The users where emailing failed.

add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

response: Response | None

The response that generated this error, only present if this data was parsed as toplevel exception from a response.

message: str

The user readable message for the exception.

description: str

A more detailed version of the error message.

code: APICodes

What type of error is this?

request_id: str

The id of the request that went wrong. Please include this id when reporting bugs.