flynn/flynn-controller — pull request #12 by lmars (2014-04-29 17:49:51+00:00)
Title: Update Client to handle 400 responses from the controller

Fixes #8 by returning a more informative error:

```
$ flynn create
controller error: name must not be blank

$ flynn create "&"
controller error: name is invalid
```

`ControllerError` is pretty similar to `ValidationError`, but I wasn't sure the best way to handle that duplication.