IResponse<T>.exception constructor

IResponse<T>.exception(
  1. ApiException exception
)

Implementation

IResponse.exception(ApiException exception) {
  code = exception.code;
  message = exception.message;
  exception = exception;
}