Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: pkg/barback/lib/src/errors.dart

Issue 261823008: Reorganize barback's source files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-add barback/lib/src/internal_asset.dart Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/barback/lib/src/declaring_transformer.dart ('k') | pkg/barback/lib/src/file_pool.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 barback.errors; 5 library barback.errors;
6 6
7 import 'package:stack_trace/stack_trace.dart'; 7 import 'package:stack_trace/stack_trace.dart';
8 8
9 import 'asset_id.dart'; 9 import 'asset/asset_id.dart';
10 import 'transformer.dart'; 10 import 'transformer/transformer.dart';
11 import 'utils.dart'; 11 import 'utils.dart';
12 12
13 /// Error thrown when an asset with [id] cannot be found. 13 /// Error thrown when an asset with [id] cannot be found.
14 class AssetNotFoundException implements Exception { 14 class AssetNotFoundException implements Exception {
15 final AssetId id; 15 final AssetId id;
16 16
17 AssetNotFoundException(this.id); 17 AssetNotFoundException(this.id);
18 18
19 String toString() => "Could not find asset $id."; 19 String toString() => "Could not find asset $id.";
20 } 20 }
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 bool operator==(other) => 177 bool operator==(other) =>
178 other is TransformInfo && 178 other is TransformInfo &&
179 other.transformer == transformer && 179 other.transformer == transformer &&
180 other.primaryId == primaryId; 180 other.primaryId == primaryId;
181 181
182 int get hashCode => transformer.hashCode ^ primaryId.hashCode; 182 int get hashCode => transformer.hashCode ^ primaryId.hashCode;
183 183
184 String toString() => "$transformer on $primaryId"; 184 String toString() => "$transformer on $primaryId";
185 } 185 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/declaring_transformer.dart ('k') | pkg/barback/lib/src/file_pool.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698