The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.