export class HttpStatusError extends Error { constructor ( readonly status , readonly title , message , readonly remediation ) { super ( message ) ; if ( Error . captureStackTrace ) { Error . captureStackTrace ( this , HttpStatusError ) ; } Object . setPrototypeOf ( this , HttpStatusError . prototype ) ; } }