commit | 7f30a85545da5b27de10b622ee9ed96553b79147 | [log] [tgz] |
---|---|---|
author | Francois Rousseau <frousseau@google.com> | Wed Dec 12 16:22:05 2018 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Thu Dec 13 02:42:49 2018 +0000 |
tree | 1be87f0b02fb019045c901fdc7cf3e53cda3453c | |
parent | 8b03fa7bd68b1ac1f318b7cf9dad2aaaf8d3a5c7 [diff] |
[dart] change FidlError message format * $RuntimeType: $Message is the usual format in Dart, e.g., https://github.com/dart-lang/sdk/blob/5721d8af6d8755fa6f70f3951de2c451c57bf12f/sdk/lib/core/exceptions.dart#L32 * that makes it easier to parse from the C++ runners if they all have the same format TESTED=triggered FidlError, correctly parsed in crash analyzer Change-Id: Ic1fae9dab3f5c6e6d3317a9efddf8bb249e38038
diff --git a/public/dart/fidl/lib/src/error.dart b/public/dart/fidl/lib/src/error.dart index be7027c..70b0b42 100644 --- a/public/dart/fidl/lib/src/error.dart +++ b/public/dart/fidl/lib/src/error.dart
@@ -10,5 +10,5 @@ final String message; @override - String toString() => 'FidlError($message)'; + String toString() => 'FidlError: $message'; }