export class ResponseError extends Error { status : number ; expose : boolean ; constructor ( status , m ) { super ( m ) ; this . status = status ; this . expose = status < 500 ; Object . setPrototypeOf ( this , ResponseError . prototype ) ; } }