onError

abstract var onError: (error: TError, variables: TVariables, context: TContext?) -> Promise<*>?(source)