mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
msg erro changes
This commit is contained in:
@@ -70,7 +70,7 @@ export class HttpErrorHandle {
|
|||||||
this.toastService._badRequest('Não foi possível fazer login. Por favor, verifique as suas credenciais.');
|
this.toastService._badRequest('Não foi possível fazer login. Por favor, verifique as suas credenciais.');
|
||||||
break;
|
break;
|
||||||
case 403:
|
case 403:
|
||||||
this.toastService._badRequest('Lamentamos, você não tem permissão para acessar este serviço.')
|
this.toastService._badRequest('Por questões de segurança, a sua conta foi bloqueada. Por favor, contacte o suporte.')
|
||||||
break;
|
break;
|
||||||
case 404:
|
case 404:
|
||||||
this.toastService._badRequest('Lamentamos, não encontramos o que procura.')
|
this.toastService._badRequest('Lamentamos, não encontramos o que procura.')
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import { EventsDTO, refreshTokenDTO } from "./interface";
|
|||||||
import { HttpParams } from '@angular/common/http';
|
import { HttpParams } from '@angular/common/http';
|
||||||
import { DetectCalendars, makeHeaderForCalendar } from '../../utils/utils';
|
import { DetectCalendars, makeHeaderForCalendar } from '../../utils/utils';
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
import { ok, err } from 'neverthrow';
|
/* import { ok, err } from 'neverthrow'; */
|
||||||
|
|
||||||
// let a = z
|
// let a = z
|
||||||
// let b = ok
|
// let b = ok
|
||||||
|
|||||||
Reference in New Issue
Block a user