NAME

IO::Framed::X::ReadError

SYNOPSIS

use Try::Tiny;
use IO::Framed::Read;

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

try { $iof->read(20) }
catch {
    $_->get('OS_ERROR');        #gets $!
    $_->errno_is('EAGAIN');     #should always be false
};

DESCRIPTION

Thrown on read errors. Subclasses X::Tiny::Base.