Watcher: Correctly handle .Type==&"ERROR" watch events
Watcher: Correctly handle .Type==&"ERROR" watch events

If a watch sends back

    {"type":"ERROR","object":{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"too old resource version: 500000 (557576)","reason":"Gone","code":410}}

instead of returning opaque errors from proto

    proto: wrong wireType = 6 for field ServiceAccountName

it should return an APIError:

    kubernetes api: Failure 410 too old resource version: 500000 (557287)

ericchiang/k8s,ericchiang/k8s