tx.go
func (t *tx) ReportError(exceptionType, errorMessage, stackTrace, stackFrameDelim string) error {
	t.mtx.Lock()
	defer t.mtx.Unlock()

	_, err := t.Reporter.ReportError(t.id, exceptionType, errorMessage, stackTrace, stackFrameDelim)
	return err
}
func (t *tx) ReportError(exceptionType, errorMessage, stackTrace, stackFrameDelim string) error {
	t.mtx.Lock()
	defer t.mtx.Unlock()

	_, err := t.Reporter.ReportError(t.id, exceptionType, errorMessage, stackTrace, stackFrameDelim)
	return err
}
func ( t * tx ) ReportError ( exceptionType , errorMessage , stackTrace , stackFrameDelim string ) error { t . mtx . Lock ( ) defer t . mtx . Unlock ( ) _ , err := t . Reporter . ReportError ( t . id , exceptionType , errorMessage , stackTrace , stackFrameDelim ) return err }
// ReportError reports an error that occured during the transaction.
ReportError reports an error that occured during the transaction .