NAME

Net::DHCPv6::X::BadOption - Thrown when option data violates expected format

VERSION

version 0.001

SYNOPSIS

use Net::DHCPv6;

my ($msg, $err) = Net::DHCPv6->decode_with_error($bytes);
if ($err && $err->isa('Net::DHCPv6::X::BadOption')) {
    warn "bad option: " . $err->message;
}

DESCRIPTION

Exception thrown when option data cannot be parsed, for example truncated option content or invalid field values.

See Net::DHCPv6::X.

ALPHA STATUS

ALPHA SOFTWARE. This is an early release. The interface is experimental and subject to change without notice.

AUTHOR

Dean Hamstead <dean@fragfest.com.au>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2026 by Dean Hamstead.

This is free software, licensed under:

The MIT (X11) License