getError

open override fun getError(): Throwable?

Gets the error that occurred during command processing.

This method first checks for errors set directly on the exchange, then checks for failed events in the event stream.

Return

the Throwable representing the error, or null if no error occurred

See also