TdException constructor

const TdException(
  1. TdError error,
  2. TdFunction<TdObject> request
)

Creates the exception for error returned by request.

Implementation

const TdException(this.error, this.request);