File

src/app/services/error-handler/error-handler.service.ts

Description

ErrorHandler service.

Index

Methods
Accessors

Constructor

constructor()

Constructs the error handler service. ~constructor

Methods

Public globalErrorHandler
globalErrorHandler(err: any, silent)

Global error handler

Parameters :
Name Type Optional Default value
err any No
silent No false
Returns : void
Public loggerErrorHandler
loggerErrorHandler(err: any)

Logger error handler

Parameters :
Name Type Optional
err any No
Returns : void
Public silentErrorHandler
silentErrorHandler(_err?: any)

Silent error handler

Parameters :
Name Type Optional
_err any Yes
Returns : void

Accessors

instance
getinstance()

Instance getter

results matching ""

    No results matching ""