throwIfError method

FlintResponse<T> throwIfError()

Implementation

FlintResponse<T> throwIfError() {
  if (isError && error != null) throw error!;
  return this;
}