File

src/app/models/error.model.ts

Index

Properties

Constructor

constructor(title: string, message: string)
Parameters :
Name Type Optional
title string no
message string no

Properties

message
message: string
Type : string
title
title: string
Type : string
export class AppError {
  title: string;
  message: string;

  constructor(
    title: string = 'Error',
    message: string = 'An Error Has Occurred'
  ) {
    this.title = title;
    this.message = message;
  }
}

results matching ""

    No results matching ""