mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2026-01-06 03:00:23 +00:00
Add another error type for user missing permissions
This commit is contained in:
@@ -563,6 +563,7 @@ export interface ContainerConnectionInfo {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export enum PhoenixErrorType {
|
export enum PhoenixErrorType {
|
||||||
|
UserMissingPermissionsError = "UserMissingPermissionsError",
|
||||||
MaxAllocationTimeExceeded = "MaxAllocationTimeExceeded",
|
MaxAllocationTimeExceeded = "MaxAllocationTimeExceeded",
|
||||||
MaxDbAccountsPerUserExceeded = "MaxDbAccountsPerUserExceeded",
|
MaxDbAccountsPerUserExceeded = "MaxDbAccountsPerUserExceeded",
|
||||||
MaxUsersPerDbAccountExceeded = "MaxUsersPerDbAccountExceeded",
|
MaxUsersPerDbAccountExceeded = "MaxUsersPerDbAccountExceeded",
|
||||||
|
|||||||
@@ -266,6 +266,7 @@ export class PhoenixClient {
|
|||||||
"."
|
"."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
case PhoenixErrorType.UserMissingPermissionsError:
|
||||||
case PhoenixErrorType.AllocationValidationResult:
|
case PhoenixErrorType.AllocationValidationResult:
|
||||||
case PhoenixErrorType.RegionNotServicable:
|
case PhoenixErrorType.RegionNotServicable:
|
||||||
case PhoenixErrorType.SubscriptionNotAllowed: {
|
case PhoenixErrorType.SubscriptionNotAllowed: {
|
||||||
|
|||||||
Reference in New Issue
Block a user