NAME

IO::Framed::X::EmptyWrite

SYNOPSIS

    use Try::Tiny;
    use IO::Framed::Write;

    my $iof = IO::Framed::Write->new( $some_socket );

    try { $iof->write(q<>) }
    catch {
        if ( try { $_->isa('IO::Framed::Read') } ) { ... }
    };

DESCRIPTION

Thrown when empty string or undef is given to write().