UNPKG

@cf-wasm/og

Version:

Generate Open Graph Images dynamically from HTML/CSS without a browser.

21 lines (20 loc) 473 B
//#region src/core/errors.ts /** * Represents a Error ocurred while fetching */ var FetchError = class extends Error { /** * Creates an instance of {@link FetchError} * * @param message The error message * @param options The {@link FetchErrorOptions} */ constructor(message, options) { super(message, options); this.name = "FetchError"; this.response = options?.response; } }; //#endregion exports.FetchError = FetchError; //# sourceMappingURL=errors.cjs.map