Merge pull request #5831 from smarterclayton/add_more_errors

Add more specific error handling and handle generic errors more effectively
This commit is contained in:
Brian Grant
2015-03-27 14:17:11 -07:00
12 changed files with 294 additions and 50 deletions

View File

@@ -1229,6 +1229,8 @@ type StatusDetails struct {
// The Causes array includes more details associated with the StatusReason
// failure. Not all StatusReasons may provide detailed causes.
Causes []StatusCause `json:"causes,omitempty" description:"the Causes array includes more details associated with the StatusReason failure; not all StatusReasons may provide detailed causes"`
// If specified, the time in seconds before the operation should be retried.
RetryAfterSeconds int `json:"retryAfterSeconds,omitempty" description:"the number of seconds before the client should attempt to retry this operation"`
}
// Values of Status.Status