Files
adminandClaude Opus 5.5 a45e8b2382 Restore Riposte from the copy installed in ReaderJS
The GitHub repository (github.com/Alpaq92/Riposte) is gone with the suspended
account. These are the files npm installed for ReaderJS from commit
307ef7dfd9c5e8c0c07a840874e013cf94a85ada, so this is that commit's packaged content, without its history.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-29 16:26:53 +01:00

11 lines
344 B
JavaScript

// engine/errors.js
// PostScript-level errors. `psname` is the PostScript error name (e.g.
// 'typecheck', 'undefined', 'stackunderflow') used by errordict later.
export class PSError extends Error {
constructor(name, detail) {
super(detail ? `${name}: ${detail}` : name);
this.psname = name;
this.detail = detail || null;
}
}