We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b6689a commit 1906361Copy full SHA for 1906361
CHANGELOG.md
@@ -1,3 +1,7 @@
1
+## 0.0.4
2
+
3
+- update `LValidationException` to use the message attribute instead of the first error message
4
5
## 0.0.3
6
7
- fix \_InternalLinkedHashMap<dynamic, dynamic>' is not a subtype of type ....
lib/src/exceptions/imp.dart
@@ -8,15 +8,16 @@ abstract class LaravelException with EquatableMixin implements Exception {
8
9
/// * {"message" => }
10
/// * attached message with the response
11
- final String message;
12
13
LaravelException({
14
required this.response,
15
- }) : message = response['message'];
+ });
16
17
@override
18
String toString() => message;
19
20
21
List<Object?> get props;
22
+ String get message => response['message'];
23
}
0 commit comments