Chromium Code Reviews| Index: lib/core/errors.dart |
| diff --git a/lib/core/errors.dart b/lib/core/errors.dart |
| index 85e9f937181675ac573104c004fd35b764896051..d33534df7048705e3e4ae82f35586acf9d7be04e 100644 |
| --- a/lib/core/errors.dart |
| +++ b/lib/core/errors.dart |
| @@ -46,7 +46,10 @@ class FallThroughError implements Error { |
| const FallThroughError(); |
| } |
| -class AbstractClassInstantiationError { |
| +class AbstractClassInstantiationError implements Error { |
| + String toString() => "Cannot instantiate abstract class: '$_className'"; |
| + const AbstractClassInstantiationError(String this._className); |
| + final String _className; |
|
ahe
2012/10/11 18:27:07
Please use this order of members:
fields
construc
aam-me
2012/10/12 01:14:06
Done.
|
| } |
| /** |