| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library pub.exceptions; | |
| 6 | |
| 7 import 'dart:io'; | 5 import 'dart:io'; |
| 8 import 'dart:isolate'; | 6 import 'dart:isolate'; |
| 9 | 7 |
| 10 import "package:analyzer/analyzer.dart"; | 8 import "package:analyzer/analyzer.dart"; |
| 11 import 'package:args/command_runner.dart'; | 9 import 'package:args/command_runner.dart'; |
| 12 import "package:http/http.dart" as http; | 10 import "package:http/http.dart" as http; |
| 13 import "package:stack_trace/stack_trace.dart"; | 11 import "package:stack_trace/stack_trace.dart"; |
| 14 import "package:yaml/yaml.dart"; | 12 import "package:yaml/yaml.dart"; |
| 15 | 13 |
| 16 import 'asset/dart/serialize.dart'; | 14 import 'asset/dart/serialize.dart'; |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 // fixed. | 108 // fixed. |
| 111 return error is ApplicationException || | 109 return error is ApplicationException || |
| 112 error is AnalyzerError || | 110 error is AnalyzerError || |
| 113 error is AnalyzerErrorGroup || | 111 error is AnalyzerErrorGroup || |
| 114 error is IsolateSpawnException || | 112 error is IsolateSpawnException || |
| 115 error is IOException || | 113 error is IOException || |
| 116 error is http.ClientException || | 114 error is http.ClientException || |
| 117 error is YamlException || | 115 error is YamlException || |
| 118 error is UsageException; | 116 error is UsageException; |
| 119 } | 117 } |
| OLD | NEW |