We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import { NlfAlertService } from 'app/services/alert/alert.service'; constructor(private alertService: NlfAlertService) {} private someMethod() { try { let param = 1/0; } catch (e) { const message = (<Exception>e).Message; this.alertService.error('Error message: ' + message); } }
There was an error while loading. Please reload this page.