Error(3pm)

πŸ“¦ version 2.1.1, in arch rolling

πŸ’– Error(3pm) β€” Lire::Error πŸ’–

okay so this is the Error(3pm) page, and it's literally the manual for Lire::Error, aka the standard error messages library. you're gonna love her, she's so useful 🫢

✨ NAME ✨

Lire::Error β€” the standard error messages library, no cap 🌸

πŸ¦‹ SYNOPSIS πŸ¦‹

bestie, here's the whole vibe in code, copy it exactly:

  use Lire::Error qw/ file_not_readable directory_already_exists /;

  open my $fh, '/tmp/mikwuk'
    or die file_not_readable( 'mikwuk' );

  croak directory_already_exists( '/tmp/tempdir/wawadir' )
    if ( -d '/tmp/tempdir/wawadir' );

so you pull in file_not_readable and directory_already_exists, and then you can die or croak with a properly-formed message. iconic behaviour honestly πŸ‘‘

πŸŽ€ DESCRIPTION πŸŽ€

okay so real talk: this module implements an API to obtain all the standard error messages that are found across the Lire scripts, utilities or modules. one stop shop, no more improvising your own error strings πŸ’…

and the best part? most of them are translated appropriately ✨ so the messages actually speak the user's language. we love accessible errors, periodt.


πŸ‘‘ AUTHOR πŸ‘‘

  • Wolfgang Sourdeau <wolfgang@logreport.org> πŸ’Œ

⭐ VERSION ⭐

  $Id: Error.pm,v 1.8 2006/07/23 13:16:29 vanbaal Exp $

Copyright (C) 2004 Stichting LogReport Foundation LogReport@LogReport.org

This file is part of Lire.

kk this next bit is the legal bit and you gotta read it fr fr, don't skip πŸ™ˆ

Lire is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING); if not, check with http://www.gnu.org/copyleft/gpl.html πŸ”₯


slay, that's the whole page bestie 🧚 β€” this was Lire 2.1.1, dated 2025-09-28, and yes the manual is literally called Error(3pm). go forth and error handsomely πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from