handleError method

void handleError(
  1. String? error,
  2. Pointer<BytesReturn> result
)

Implementation

void handleError(String? error, Pointer<BytesReturn> result) {
  if (error != null && error.isNotEmpty) {
    freeResult(result);
    throw RSAException(error);
  }
}