ErrorService
Extends:
BaseService → ErrorService
Errors live in internal stack. Simply call the add() method to display a new error:
ErrorService.add('warning', 'Foo bar!');
Method Summary
Public Methods | ||
public |
add(type: *, message: *): * |
|
public |
updateError(error: *): * |
Inherited Summary
From class BaseService | ||
public |
Preform a DELETE action |
|
public |
Preform a GET action |
|
public |
Preform a POST action |
|
public |
postUpload(url: string, data: object, params: object): object Preform a POST action |
|
public |
Preform a PUT action |