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

Commit 6867ed2

Browse files
committed
fix(binder): adds more explicit error message thrown.
1 parent 2b3942f commit 6867ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/core_dom/element_binder_builder.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ class ElementBinderBuilder {
9393
if (annotation.map != null) {
9494
annotation.map.forEach((attrName, mapping) {
9595
if (mapping == null) {
96-
throw "Null mapping value for '${attrName}' on annotation with selector '${annotation.selector}'.";
96+
throw "Null mapping value for '${attrName}' on annotation with "
97+
"selector '${annotation.selector}' with map '${annotation.map}'.";
9798
}
9899
Match match = _MAPPING.firstMatch(mapping);
99100
if (match == null) {

0 commit comments

Comments
 (0)