export interface RESTClientError {
  request: {
    method: string;
    entry: string;
    options?: any;
  };
  response: RESTError;
}

export interface RESTError {
  code: number;
  message: string;
  data?: any;
}
