Exceptions¶
Specific exceptions that Optimus code can raise.
- exception optimus.exceptions.OptimusBaseException[source]¶
Bases:
ExceptionBase for Optimus exceptions.
- exception optimus.exceptions.DestinationExists[source]¶
Bases:
OptimusBaseExceptionException to be raised when a destination allready exists for a new project to create.
- exception optimus.exceptions.SettingsImportError[source]¶
Bases:
OptimusBaseExceptionException to be raised when a settings module import fails.
- exception optimus.exceptions.TemplateImportError[source]¶
Bases:
OptimusBaseExceptionException to be raised when a template module import fails.
- exception optimus.exceptions.TemplateSettingsInvalidError[source]¶
Bases:
OptimusBaseExceptionException to be raised when a template manifest have wrong settings.
- exception optimus.exceptions.InvalidLangageIdentifier[source]¶
Bases:
OptimusBaseExceptionException to be raised from
lang.LangBasewhen given language code is invalid.
- exception optimus.exceptions.InvalidSettings[source]¶
Bases:
OptimusBaseExceptionException to be raised for invalid settings from ‘conf.model’
- exception optimus.exceptions.ViewImproperlyConfigured[source]¶
Bases:
OptimusBaseExceptionException to be raised from
pages.view.base.PageViewBasewhen instanciated with bad value or missing parameters.
- exception optimus.exceptions.ServerConfigurationError[source]¶
Bases:
OptimusBaseExceptionException to be raised when trying to run live server with a error in given configuration.
- exception optimus.exceptions.InvalidHostname[source]¶
Bases:
ServerConfigurationErrorException to be raised when a parsed hostname is invalid.
- exception optimus.exceptions.DataProcessError[source]¶
Bases:
OptimusBaseExceptionException to be raised from a view which attempt to parse a data file.