Skip to content

Defined in: packages/static-filter/src/errors.ts:56

Thrown when decoding a serializeStaticFilter artifact that is malformed or internally inconsistent.

new StaticFilterParseError(code, message): StaticFilterParseError

Defined in: packages/errors/src/index.ts:57

"INVALID_CODEC_RESULT" | "INVALID_MAGIC" | "UNSUPPORTED_ENVELOPE_VERSION" | "UNSUPPORTED_PAYLOAD_VERSION" | "INVALID_SECTION_GEOMETRY" | "NONZERO_PADDING" | "MISALIGNED_SECTION" | "TRUNCATED_PAYLOAD" | "DECODE_BUDGET_EXCEEDED" | "UNSTABLE_BUFFER" | "WRONG_FORMAT" | "INTEGRITY_MISMATCH" | "UNKNOWN_KIND" | "INVALID_PACKAGE_HEADER" | "CORRUPT_FILTER_PAYLOAD"

string

StaticFilterParseError

ParseError.constructor

readonly _tag: "ParseError"

Defined in: packages/errors/src/index.ts:55

ParseError._tag


readonly code: "INVALID_CODEC_RESULT" | "INVALID_MAGIC" | "UNSUPPORTED_ENVELOPE_VERSION" | "UNSUPPORTED_PAYLOAD_VERSION" | "INVALID_SECTION_GEOMETRY" | "NONZERO_PADDING" | "MISALIGNED_SECTION" | "TRUNCATED_PAYLOAD" | "DECODE_BUDGET_EXCEEDED" | "UNSTABLE_BUFFER" | "WRONG_FORMAT" | "INTEGRITY_MISMATCH" | "UNKNOWN_KIND" | "INVALID_PACKAGE_HEADER" | "CORRUPT_FILTER_PAYLOAD"

Defined in: packages/errors/src/index.ts:58

ParseError.code


readonly moduleName: "knotkit/static-filter"

Defined in: packages/static-filter/src/errors.ts:57

ParseError.moduleName