export class ResponseError extends Error { constructor ( message , public readonly status ? ) { super ( message ) ; this . name = "ResponseError" ; Object . setPrototypeOf ( this , ResponseError . prototype ) ; } }