🐛 add interface access permissions
This commit is contained in:
@@ -6,6 +6,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.400"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -14,6 +15,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.401"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -22,6 +24,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.403"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -30,6 +33,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.404"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -38,6 +42,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.408"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -46,6 +51,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.500"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -54,6 +60,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.501"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -62,6 +69,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.502"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -70,6 +78,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.503"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -78,6 +87,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.504"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -86,6 +96,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.505"),
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
@@ -94,6 +105,7 @@ export function handleCode(code: number): void {
|
||||
message
|
||||
.open({
|
||||
content: i18n.global.t("error.other") + `(${code})`,
|
||||
duration: 5,
|
||||
type: "error",
|
||||
})
|
||||
.then();
|
||||
|
Reference in New Issue
Block a user