---
id: "packages/active-geo/api/export"
title: "Export"
description: "GeoExportError, GeoExportErrorCode, GeoExportErrorOptions: generated from the source of active-geo."
url: "/packages/active-geo/api/export"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:export"
---

# Export

Exported by `@workspace/active-geo`. Generated from the package source; part of [the index of every export](/packages/active-geo/api).

## Functions, hooks and constants

**GeoExportError**

```ts
class GeoExportError extends Error {
  readonly code: GeoExportErrorCode;
  readonly format: GeoExportFormat;
  readonly size?: number;
  readonly limit?: number;
  constructor({ code, format, message, cause, size, limit, }: GeoExportErrorOptions);
}
```

An export that produced no file.

## Types

**GeoExportErrorCode**

```ts
type GeoExportErrorCode =
  | 'EXPORT_BUSY'
  | 'EXPORT_TOO_LARGE'
  | 'EXPORT_CAPTURE_FAILED'
  | 'EXPORT_NO_DATA'
  | 'EXPORT_CANCELLED'
  | 'EXPORT_INVALID_OPTION';
```

**GeoExportErrorOptions**

```ts
interface GeoExportErrorOptions {
  readonly code: GeoExportErrorCode;
  readonly format: GeoExportFormat;
  readonly message: string;
  readonly cause?: unknown;
  readonly size?: number;
  readonly limit?: number;
}
```
