Compare commits

...

1 Commits

Author SHA1 Message Date
Mathieu Tremblay
918a061bcb Add another error type for user missing permissions 2022-07-15 08:53:27 -04:00
2 changed files with 2 additions and 0 deletions

View File

@@ -563,6 +563,7 @@ export interface ContainerConnectionInfo {
}
export enum PhoenixErrorType {
UserMissingPermissionsError = "UserMissingPermissionsError",
MaxAllocationTimeExceeded = "MaxAllocationTimeExceeded",
MaxDbAccountsPerUserExceeded = "MaxDbAccountsPerUserExceeded",
MaxUsersPerDbAccountExceeded = "MaxUsersPerDbAccountExceeded",

View File

@@ -266,6 +266,7 @@ export class PhoenixClient {
"."
);
}
case PhoenixErrorType.UserMissingPermissionsError:
case PhoenixErrorType.AllocationValidationResult:
case PhoenixErrorType.RegionNotServicable:
case PhoenixErrorType.SubscriptionNotAllowed: {