html-pdf-chrome
Version:
HTML to PDF and image converter via Chrome/Chromium
16 lines (13 loc) • 333 B
text/typescript
;
// https://stackoverflow.com/a/41429145/453314
/**
* An Error signifying that the connection to Chrome was lost.
*
* @export
*/
export class ConnectionLostError extends Error {
constructor() {
super('HtmlPdf.create() connection lost.');
Object.setPrototypeOf(this, ConnectionLostError.prototype);
}
}