errors.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package amplify
  3. const (
  4. // ErrCodeBadRequestException for service response error code
  5. // "BadRequestException".
  6. //
  7. // Exception thrown when a request contains unexpected data.
  8. ErrCodeBadRequestException = "BadRequestException"
  9. // ErrCodeDependentServiceFailureException for service response error code
  10. // "DependentServiceFailureException".
  11. //
  12. // Exception thrown when an operation fails due to a dependent service throwing
  13. // an exception.
  14. ErrCodeDependentServiceFailureException = "DependentServiceFailureException"
  15. // ErrCodeInternalFailureException for service response error code
  16. // "InternalFailureException".
  17. //
  18. // Exception thrown when the service fails to perform an operation due to an
  19. // internal issue.
  20. ErrCodeInternalFailureException = "InternalFailureException"
  21. // ErrCodeLimitExceededException for service response error code
  22. // "LimitExceededException".
  23. //
  24. // Exception thrown when a resource could not be created because of service
  25. // limits.
  26. ErrCodeLimitExceededException = "LimitExceededException"
  27. // ErrCodeNotFoundException for service response error code
  28. // "NotFoundException".
  29. //
  30. // Exception thrown when an entity has not been found during an operation.
  31. ErrCodeNotFoundException = "NotFoundException"
  32. // ErrCodeUnauthorizedException for service response error code
  33. // "UnauthorizedException".
  34. //
  35. // Exception thrown when an operation fails due to a lack of access.
  36. ErrCodeUnauthorizedException = "UnauthorizedException"
  37. )