Error class for domain-specific validation failures. Used to represent invalid operations on offsets, byte counts, and ranges.
Creates a new DomainError.
Human-readable description of the error.
Specific error code indicating the failure type.
Readonly
Error class for domain-specific validation failures. Used to represent invalid operations on offsets, byte counts, and ranges.