GitHub

NdjsonError

API reference for NdjsonError.

Encoding ("Pack") or decoding ("Unpack") failed. Decoders set reason, and unterminated when the rejected line is the input's last and has no line break.

Attributes

AttributeTypeDescription
kindLiteral['Pack', 'Unpack']
causeException
reasonNdjsonErrorReason | None = None
unterminatedbool = False
messagestr

Functions

__init__

__init__(kind, cause, reason=None, unterminated=False) -> None
ParameterTypeDescription
kindLiteral['Pack', 'Unpack']
causeException
reasonNdjsonErrorReason | None = None
unterminatedbool = False