@cf-wasm/og
Version:
Generate Open Graph Images dynamically from HTML/CSS without a browser.
21 lines (20 loc) • 511 B
JavaScript
//#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 === null || options === void 0 ? void 0 : options.response;
}
};
//#endregion
export { FetchError };
//# sourceMappingURL=errors.js.map