export abstract class DetailsError extends Error { errorMessage : string ; constructor ( message ? ) { super ( message ) ; this . name = 'Details Error' ; this . errorMessage = message || 'Error' ; } abstract hasDetails ( ) ; }