export class RequestError extends Error {

  public data?: any;

  public status?: number;

  constructor(message?: string, status?: number, data?: any) {
    super(message);
    this.status = status;
    this.data = data;
  }

}
