mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-29 05:41:40 +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 {
|
||||
UserMissingPermissionsError = "UserMissingPermissionsError",
|
||||
MaxAllocationTimeExceeded = "MaxAllocationTimeExceeded",
|
||||
MaxDbAccountsPerUserExceeded = "MaxDbAccountsPerUserExceeded",
|
||||
MaxUsersPerDbAccountExceeded = "MaxUsersPerDbAccountExceeded",
|
||||
|
||||
@@ -266,6 +266,7 @@ export class PhoenixClient {
|
||||
"."
|
||||
);
|
||||
}
|
||||
case PhoenixErrorType.UserMissingPermissionsError:
|
||||
case PhoenixErrorType.AllocationValidationResult:
|
||||
case PhoenixErrorType.RegionNotServicable:
|
||||
case PhoenixErrorType.SubscriptionNotAllowed: {
|
||||
|
||||
Reference in New Issue
Block a user