Export
GeoExportError, GeoExportErrorCode, GeoExportErrorOptions: generated from the source of active-geo.
Exported by @workspace/. Generated from the package source; part of the index of every export.
Functions, hooks and constants#
An export that produced no file.
class GeoExportError extends Error {
readonly code: GeoExportErrorCode;
readonly format: GeoExportFormat;
readonly size?: number;
readonly limit?: number;
constructor({ code, format, message, cause, size, limit, }: GeoExportErrorOptions);
}Types#
type GeoExportErrorCode =
| 'EXPORT_BUSY'
| 'EXPORT_TOO_LARGE'
| 'EXPORT_CAPTURE_FAILED'
| 'EXPORT_NO_DATA'
| 'EXPORT_CANCELLED'
| 'EXPORT_INVALID_OPTION';interface GeoExportErrorOptions {
readonly code: GeoExportErrorCode;
readonly format: GeoExportFormat;
readonly message: string;
readonly cause?: unknown;
readonly size?: number;
readonly limit?: number;
}