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

Unified Diff: pkg/barback/lib/src/errors.dart

Issue 23199004: Support passing barback assets through phases in which they're unused. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: pkg/barback/lib/src/errors.dart
diff --git a/pkg/barback/lib/src/errors.dart b/pkg/barback/lib/src/errors.dart
index a379ae516f41217a23475e2ee8123c7ffb0f7aa6..7a460b6e7a1d08df239579e4b919d7fdfe7a05cb 100644
--- a/pkg/barback/lib/src/errors.dart
+++ b/pkg/barback/lib/src/errors.dart
@@ -29,6 +29,10 @@ abstract class BarbackException implements Exception {}
/// Error thrown when two or more transformers both output an asset with [id].
class AssetCollisionException implements BarbackException {
/// All the transforms that output an asset with [id].
+ ///
+ /// This could only contain a single transform, which indicates that a
Bob Nystrom 2013/08/14 22:43:01 This took me a few reads to grok. How about "If th
nweiz 2013/08/15 21:07:02 Done.
+ /// transformer produced an output that collides with a source asset or an
+ /// asset from a previous phase.
final Set<TransformInfo> transforms;
final AssetId id;

Powered by Google App Engine
This is Rietveld 408576698