export * from './dto';
export * from './instance';
export class ApiError {
  constructor(errorType) {
    this.status = 0;
    this.statusText = '';
    this.errorType = errorType;
  }
  static decode(json) {
    return Object.assign(Object.create(ApiError.prototype), json);
  }
}
