MigrationException constructor

MigrationException({
  1. Object? e,
  2. DatumExceptionCode code = DatumExceptionCode.migrationError,
  3. required String message,
  4. StackTrace? stackTrace,
})

Implementation

MigrationException({
  this.e,
  super.code = DatumExceptionCode.migrationError,
  required super.message,
  this.stackTrace,
}) : super(details: {
        if (e != null) 'e': e.toString(),
        if (stackTrace != null) 'stackTrace': stackTrace.toString(),
      });