fastoad.module_management.exceptions module¶
Exceptions for module_management package.
-
exception
fastoad.module_management.exceptions.
FastBadSystemOptionError
(identifier, option_names)[source]¶ Bases:
fastoad.exceptions.FastError
Raised when some option name is not conform to OpenMDAO system definition.
- Parameters
identifier – system identifier
option_names – incorrect option names
-
exception
fastoad.module_management.exceptions.
FastDuplicateFactoryError
(factory_name)[source]¶ Bases:
fastoad.exceptions.FastError
Raised when trying to register a factory with an already used name.
- Parameters
factory_name –
-
exception
fastoad.module_management.exceptions.
FastDuplicateOMSystemIdentifierException
(factory_name)[source]¶ Bases:
fastoad.module_management.exceptions.FastDuplicateFactoryError
Raised when trying to register an OpenMDAO System with an already used identifier.
Raised when trying to register a factory with an already used name.
- Parameters
factory_name –
-
exception
fastoad.module_management.exceptions.
FastIncompatibleServiceClass
(registered_class: type, service_id: str, base_class: type)[source]¶ Bases:
fastoad.exceptions.FastError
Raised when trying to register as service a class that does not implement the specified interface.
- Parameters
registered_class –
service_id –
base_class – the unmatched interface
-
exception
fastoad.module_management.exceptions.
FastNoOMSystemFoundError
(properties)[source]¶ Bases:
fastoad.exceptions.FastError
Raised when no registered OpenMDAO system could be found from asked properties.
- Parameters
properties –
-
exception
fastoad.module_management.exceptions.
FastUnknownOMSystemIdentifierError
(identifier)[source]¶ Bases:
fastoad.exceptions.FastError
Raised when no OpenMDAO system is registered with asked identifier.
- Parameters
identifier –