Update test case and doc to use proper signature of error event
Merge pull request #45 from Versal/doc/error-event

Update test case and doc to use proper signature of error event