import { HTTPError } from "./httpError" ; import { FlaggedError } from "./flaggedError" ; /**
 * Class extending HTTPError without storing the stack
 */ export class HTTPErrorNoStack extends HTTPError { static FLAGS = FlaggedError . FLAGS ; param message param statusCode param statusMessage param method param url param flags - Flags that characterize the error. See  FlaggedError . FLAGS .
      constructor ( message ? , statusCode ? , statusMessage ? , method ? , url ? , flags ? ) { super ( message , statusCode , statusMessage , method , url , flags ) ; Object . setPrototypeOf ( this , HTTPErrorNoStack . prototype ) ; delete this . stack ; } toString ( ) { return this . message ; } }