GetErrors¶
-
virtual std::vector<PEvent> IAxisControlBase::GetErrors() = 0¶
Gets the events with “error” response that followed the root error.
- Returns
std::vector<PEvent> – Last event that triggered transition to “Fault reaction active”.
- Throws
CCommunicationErrorException
– Protocol error.CConnectionLostException
– Connection to controller lost.CRebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
The maximum amount of events that can be stored in the collection is product specific, in case of overflow the newest events are discarded. The collection is reset after a call to IAxisControlBase::ResetFault.