Implementation of Better Error Handling on Login
This commit is contained in:
14
src/app/header/header-popup/error-box/error-box.component.ts
Normal file
14
src/app/header/header-popup/error-box/error-box.component.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {Component, Input} from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-error-box',
|
||||
templateUrl: './error-box.component.html',
|
||||
styleUrls: ['./error-box.component.css']
|
||||
})
|
||||
export class ErrorBoxComponent {
|
||||
@Input()
|
||||
errorMessage: string|null = "Error, please try again later."
|
||||
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user