onFailed

abstract fun onFailed(code: String, msg: String? = null)