errors.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package resourcegroups
  3. const (
  4. // ErrCodeBadRequestException for service response error code
  5. // "BadRequestException".
  6. //
  7. // The request does not comply with validation rules that are defined for the
  8. // request parameters.
  9. ErrCodeBadRequestException = "BadRequestException"
  10. // ErrCodeForbiddenException for service response error code
  11. // "ForbiddenException".
  12. //
  13. // The caller is not authorized to make the request.
  14. ErrCodeForbiddenException = "ForbiddenException"
  15. // ErrCodeInternalServerErrorException for service response error code
  16. // "InternalServerErrorException".
  17. //
  18. // An internal error occurred while processing the request.
  19. ErrCodeInternalServerErrorException = "InternalServerErrorException"
  20. // ErrCodeMethodNotAllowedException for service response error code
  21. // "MethodNotAllowedException".
  22. //
  23. // The request uses an HTTP method which is not allowed for the specified resource.
  24. ErrCodeMethodNotAllowedException = "MethodNotAllowedException"
  25. // ErrCodeNotFoundException for service response error code
  26. // "NotFoundException".
  27. //
  28. // One or more resources specified in the request do not exist.
  29. ErrCodeNotFoundException = "NotFoundException"
  30. // ErrCodeTooManyRequestsException for service response error code
  31. // "TooManyRequestsException".
  32. //
  33. // The caller has exceeded throttling limits.
  34. ErrCodeTooManyRequestsException = "TooManyRequestsException"
  35. // ErrCodeUnauthorizedException for service response error code
  36. // "UnauthorizedException".
  37. //
  38. // The request has not been applied because it lacks valid authentication credentials
  39. // for the target resource.
  40. ErrCodeUnauthorizedException = "UnauthorizedException"
  41. )