0583406e3b
(cherry picked from commit 2a5441c2ef4facf28e7e6e1678e89601d72259be)
17 lines
305 B
Dart
17 lines
305 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class Failure with EquatableMixin {
|
|
|
|
@override
|
|
bool? get stringify => true;
|
|
}
|
|
|
|
abstract class FeatureFailure extends Failure {
|
|
final dynamic exception;
|
|
|
|
FeatureFailure({this.exception});
|
|
|
|
@override
|
|
List<Object?> get props => [exception];
|
|
}
|