onError

open fun onError(aggregateType: AggregateType, queryType: QueryType, error: Throwable)