Merge pull request #16628 from caesarxuchao/change-error-type

Auto commit by PR queue bot
This commit is contained in:
k8s-merge-robot
2015-11-30 17:21:52 -08:00
4 changed files with 20 additions and 1 deletions

View File

@@ -183,6 +183,11 @@ const (
// Status code 409
StatusReasonConflict StatusReason = "Conflict"
// StatusReasonGone means the item is no longer available at the server and no
// forwarding address is known.
// Status code 410
StatusReasonGone StatusReason = "Gone"
// StatusReasonInvalid means the requested create or update operation cannot be
// completed due to invalid data provided as part of the request. The client may
// need to alter the request. When set, the client may use the StatusDetails