Support ErrorCallback.