IsError returns true if this item contains a recorded error
()
| 91 | |
| 92 | // IsError returns true if this item contains a recorded error |
| 93 | func (si *Item) IsError() bool { |
| 94 | return si.Error != nil |
| 95 | } |
| 96 | |
| 97 | // Error records an agent failure that occurred during a run. It is stored as |
| 98 | // a session item so the error is visible when the session is reopened and is |
no outgoing calls