Permalink
Browse files

Replacing error type.

  • Loading branch information...
1 parent 356841d commit c22d842b31f2057d0216d7c6cc5830ba978b26e2 @andrerod andrerod committed Oct 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/services/core/servicesettings.js
View
2 lib/services/core/servicesettings.js
@@ -40,7 +40,7 @@ exports.NoMatchError = NoMatchError;
* @return none
*/
exports.noMatchConnectionString = function (connectionString) {
- throw new Error('The provided connection string "' + connectionString + '" does not have complete configuration settings.');
+ throw new NoMatchError('The provided connection string "' + connectionString + '" does not have complete configuration settings.');
};
/**

0 comments on commit c22d842

Please sign in to comment.