import { ExtendedError } from '../extended-error/extended-error' ; export class HttpError extends ExtendedError { constructor ( { name , message } ) { super ( `HTTP Error ${ name }: ${ message }` ) ; } }