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