src/app/models/error.model.ts
Properties |
constructor(title: string, message: string)
|
Defined in src/app/models/error.model.ts:3
|
message |
message:
|
Type : string
|
Defined in src/app/models/error.model.ts:3
|
title |
title:
|
Type : string
|
Defined in src/app/models/error.model.ts:2
|
export class AppError {
title: string;
message: string;
constructor(
title: string = 'Error',
message: string = 'An Error Has Occurred'
) {
this.title = title;
this.message = message;
}
}