mirror of
https://github.com/morluto/rea.git
synced 2026-10-26 17:35:11 +00:00
16 lines
367 B
TypeScript
16 lines
367 B
TypeScript
/** Expected malformed, unsupported or oversized producer data at a historical decoder boundary. */
|
|
export class CaptureFormatError extends Error {
|
|
constructor(
|
|
readonly reason:
|
|
| "format"
|
|
| "unsupported"
|
|
| "input-limit"
|
|
| "expanded-limit"
|
|
| "limit",
|
|
message: string,
|
|
readonly pointer = "",
|
|
) {
|
|
super(message);
|
|
}
|
|
}
|