API
Interface Classes
Base interface for interaction with the PF database. |
|
Exceptions
- exception powerfactorypy.PFInterfaceError
There should always be a base class (that inherits from ‘Exception’) for all custom errors/exceptions.
- exception powerfactorypy.PFAttributeError(obj, attr, msg_raised, pf_base_interface)
Attempt to access an invalid attribute of a PF object.
- exception powerfactorypy.PFAttributeTypeError(obj, attr, msg_raised, pf_base_interface)
Attempt to set an invalid type for the attribute of a PF object.
- exception powerfactorypy.PFPathError(path, project_folder)
Attempt to access invalid path in PF database.
- exception powerfactorypy.PFNonExistingObjectError(folder, obj)
Attempt to access PF object that does not exist.