VxsFormatException class final

Thrown when a byte range is not a valid VXS document.

A dedicated type matters: the parser is called on untrusted bytes, so "this is corrupt" must be distinguishable from a programming error.

Implemented types

Constructors

VxsFormatException(String message, {int? offset})
Creates the exception.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
message → String
Human readable reason.
final
offset → int?
Byte offset where the problem was detected, when known.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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