From 14f4f0089850700284ba7f44a5fe80639f3cd68f Mon Sep 17 00:00:00 2001 From: Nicoleta Panaghiu Date: Fri, 29 Sep 2023 14:39:20 +0300 Subject: [PATCH] RED-7649: Added raw error toaster. --- src/lib/services/toaster.service.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/services/toaster.service.ts b/src/lib/services/toaster.service.ts index 726cc7d..959f8f3 100644 --- a/src/lib/services/toaster.service.ts +++ b/src/lib/services/toaster.service.ts @@ -65,6 +65,10 @@ export class Toaster { return this._toastr.error(resultedMsg, options?.title, options); } + rawError(message: string) { + return this._toastr.error(message); + } + info(message: string, options?: Partial): ActiveToast { return this.#showToastNotification(message, NotificationType.INFO, options); }