FourdgsInvalidInput class

The caller handed the encoder something no conforming file can be written from.

Distinct from FourdgsMalformedFile, which is about bytes that arrived: this one is about values that were passed in, and the fix is on the calling side. The message names the field and the gaussian, because "a value is not finite" without either is a diagnosis the caller cannot act on (AGENTS.md §6).

Inheritance

Constructors

FourdgsInvalidInput(String message)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
message String
A message describing the format error.
finalinherited
offset int?
The offset in source where the error was detected.
finalinherited
refusalCode String?
The refusal this is, when the specification names it, and null otherwise.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source → dynamic
The actual source input which caused the error.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a description of the format exception.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited