Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Commit

Permalink
fix(binder): adds more explicit error message thrown.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkirov committed May 15, 2015
1 parent 2b3942f commit 6867ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/core_dom/element_binder_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class ElementBinderBuilder {
if (annotation.map != null) {
annotation.map.forEach((attrName, mapping) {
if (mapping == null) {
throw "Null mapping value for '${attrName}' on annotation with selector '${annotation.selector}'.";
throw "Null mapping value for '${attrName}' on annotation with "
"selector '${annotation.selector}' with map '${annotation.map}'.";
}
Match match = _MAPPING.firstMatch(mapping);
if (match == null) {
Expand Down

0 comments on commit 6867ed2

Please sign in to comment.