fix: Get basic tests working
This commit is contained in:
12
lib/src/omemo/errors.dart
Normal file
12
lib/src/omemo/errors.dart
Normal file
@@ -0,0 +1,12 @@
|
||||
import 'package:omemo_dart/src/errors.dart';
|
||||
|
||||
/// Returned on encryption, if encryption failed for some reason.
|
||||
class EncryptToJidError extends OmemoError {
|
||||
EncryptToJidError(this.device, this.error);
|
||||
|
||||
/// The device the error occurred with
|
||||
final int? device;
|
||||
|
||||
/// The actual error.
|
||||
final OmemoError error;
|
||||
}
|
||||
Reference in New Issue
Block a user