onComputeError

open fun onComputeError(router: Router, error: Int)

Called when error occurs during calculating.