etcd/Documentation
Kelsey Hightower d13dd50d51 Better error message when setting values on directories
Without this commit etcd returns the following error message when
setting values on directories:

    {
      "errorCode":102,
      "message":"Not a file",
      "cause":"/postgres",
      "index":2
    }

While the above error message is accurate it's not very descriptive.
This commit adds a new error code/message which better describes why the
write operation failed. etcd now returns the following:

    {
      "errorCode":109,
      "message":"Cannot set value on directory",
      "cause":"/postgres",
      "index":2
    }
2014-01-22 23:02:33 -08:00
..
2013-09-04 22:40:33 -04:00
2014-01-18 18:28:33 -08:00
2014-01-22 09:24:54 -06:00
2014-01-17 13:06:59 -08:00
2014-01-22 16:06:25 -07:00