File

projects/apttus/elements/src/shared/services/exception.service.ts

Index

Methods

Constructor

constructor(cartService: CartService, constraintRuleService: ConstraintRuleService, promotionService: PromotionService, toastr: ToastrService, translateService: TranslateService)
Parameters :
Name Type Optional
cartService CartService No
constraintRuleService ConstraintRuleService No
promotionService PromotionService No
toastr ToastrService No
translateService TranslateService No

Methods

showError
showError(error: CartError | Error | string)
Parameters :
Name Type Optional
error CartError | Error | string No
Returns : void
showInfo
showInfo(message: string, title: string, data?: any)
Parameters :
Name Type Optional Default value
message string No
title string No 'COMMON.INFO_ALERT'
data any Yes
Returns : void
showSuccess
showSuccess(message: string, title: string, data?: any)
Parameters :
Name Type Optional Default value
message string No
title string No 'SUCCESS.TITLE'
data any Yes
Returns : void
showWarning
showWarning(message: string, title: string, data?: any)
Parameters :
Name Type Optional Default value
message string No
title string No 'COMMON.INFO_ALERT'
data any Yes
Returns : void

result-matching ""

    No results matching ""