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::WriteError

SYNOPSIS

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

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

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

DESCRIPTION

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