SubscriptionNotFoundError reports a subscription the API did not find. The API does not tell a missing subscription apart from an expired, deleted, or another account's one.
(id string)
| 36 | // SubscriptionNotFoundError reports a subscription the API did not find. The API does not tell a missing |
| 37 | // subscription apart from an expired, deleted, or another account's one. |
| 38 | func SubscriptionNotFoundError(id string) error { |
| 39 | return fmt.Errorf("subscription %s was not found; it may have expired or been deleted, or you cannot access it", id) |
| 40 | } |
| 41 | |
| 42 | // SubscriptionLimitError adds the commands that free a subscription slot to err when it reports the subscription |
| 43 | // limit, and returns other errors unchanged. |