TransactionError constructor

TransactionError({
  1. required String id,
  2. List<String> logs = const [],
  3. required String message,
  4. required TransactionErrorType type,
  5. required int instruction,
})

Returns a new TransactionError instance.

Implementation

TransactionError({
  required this.id,
  this.logs = const [],
  required this.message,
  required this.type,
  required this.instruction,
});