lib

lib.emailclient.client_error

exception lsserver.lib.emailclient.SMTPClientError(caused_by_error=None)

Bases: lscore.errors.server_errors.ServerError, lsserver.lib.emailclient.EmailError

Basic Wrapper for smtplib errors

HTTP code: 500 Internal Server Error
Example: Error connecting to smtp server.
type = 'lib.emailclient.client_error'
localizable_message = <LocalizableMessage key='lib.emailclient.smtp_client_error' ...>

lib.emailclient.missing_email_setting

exception lsserver.lib.emailclient.MisconfiguredEmailSettings(key, value=None)

Bases: lscore.errors.server_errors.ServerError, lsserver.lib.emailclient.EmailError

HTTP code: 500 Internal Server Error
Example: Missing or invalid key: None was None
type = 'lib.emailclient.missing_email_setting'
localizable_message = <LocalizableMessage key='lib.emailclient.missing_email_setting' ...>