longlho/node-jsonrpc — Issue #1: Wording of error msg
Author: yamaguchih
Created: 2011-10-28 03:21:07+00:00
State: open

In jrpc.js, the error raised when a method handler is not found, or the handler doesn't have the method requested, the error message is unclear and should be changed. ("Has but doesn't have")

```
if (!handler || !handler.hasOwnProperty(methodArr[1]))
return _generateError(reqId, 'Method Not Found', handler + " has but doesn't have " + jsonRequest.method);
```