Add another error type for user missing permissions

This commit is contained in:
Mathieu Tremblay
2022-07-15 08:53:27 -04:00
parent c5ef0e608e
commit 918a061bcb
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: {