msg erro changes

This commit is contained in:
Eudes Inácio
2023-12-13 18:20:36 +01:00
parent 06f1088e1d
commit 39069f6dab
2 changed files with 2 additions and 2 deletions
@@ -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