Permalink
Browse files

Merge pull request #142 from wiseman/master

Make error messages more helpful
  • Loading branch information...
2 parents b263deb + 90ff862 commit fedc94504ef95140a8ccc3c19907445987d13c6d Shawn Allen committed Jul 21, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/projection.js
  2. +2 −2 src/provider.js
View
@@ -16,11 +16,11 @@
transformation: null,
rawProject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawProject not implemented by subclass.";
},
rawUnproject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawUnproject not implemented by subclass.";
},
project: function(point) {
View
@@ -22,11 +22,11 @@
],
getTileUrl: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTileUrl not implemented by subclass.";
},
getTile: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTile not implemented by subclass.";
},
// releaseTile is not required

0 comments on commit fedc945

Please sign in to comment.