RoPkg:...ptions(3pm)

πŸ“¦ version 0.8.4, in ubuntu jammy

πŸ’– RoPkg::Simba::Exceptions πŸ’–

okay bestie, welcome to the little drama-queen module that does nothing but throw hands β€” sorry, I mean throw exceptions πŸ’…. This is RoPkg:...ptions(3pm), a perl manual page, and yes the name is giving "someone typed ... and never looked back" but we love her anyway 🫢


✨ VERSION ✨

0.1.3 β€” vintage, iconic, still slaying πŸ’œ


🌸 DESCRIPTION 🌸

It's literally just a collection of exceptions used by Simba. That's it. That's the whole vibe. A little grab-bag of named errors so your code can yell at you with style instead of just dying silently like a sad little undef 😭


πŸŽ€ SYNOPSIS πŸŽ€

here's how you use it, no cap:

NotHashRef->throw(
  error    => 'No hash reference found',
  pkg_name => 'RoPkg::Simba'
);

like... you call ->throw on the exception class, you hand it an error message and a pkg_name, and it goes off. main character energy fr fr ✨


πŸ¦‹ DEPENDENCIES πŸ¦‹

  • Exception::Class β€” the whole thing is built on this, she's the blueprint, the blueprint is her πŸ‘‘

πŸ’… SUBROUTINES/METHODS πŸ’…

okay so these are the exceptions that are defined. every single one. we're not skipping any, bestie, we're thorough:

  • NotHashRef β€” the parameter is not a hash reference. rude of it, honestly πŸ™ˆ
  • Mirror::Config β€” error in configuration of the mirror
  • Mirror::Inactive β€” the mirror is not active. she's resting πŸ’€
  • Mirror::InProgress β€” the mirror is in progress
  • Mirror::Many β€” the criteria used to select the mirror, matches multiple mirrors. not her being indecisive 😭
  • Command::FileNotFound β€” command file name was not found

πŸ”₯ DIAGNOSTICS πŸ”₯

if you wanna check things are working: unpack the source, and use make test. that's the move. go off πŸ’ͺ


🌈 CONFIGURATION AND ENVIRONMENT 🌈

This module does not use any configuration files or environment variables. zero. zilch. no hidden env vars lurking in the shadows, we keep it clean ✨


⭐ INCOMPATIBILITIES ⭐

None known to the author 🫢


πŸ’€ BUGS AND LIMITATIONS πŸ’€

None known to the author πŸ™ˆ


πŸ‘‘ PERL CRITIC πŸ‘‘

This module is perl critic level 2 compliant. she's tidy, she's well-behaved, she passes inspection πŸ’…


πŸ’œ AUTHOR πŸ’œ

Subredu Manuel <diablo@iasi.roedu.net>


Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.

okay so legally: free software, same terms as Perl itself, and the full text lives in the LICENSE file. read it, bestie, it's the receipts πŸ“œ

and that's the whole page, babe β€” brought to you by perl v5.28.1, dated 2018-12-09, from the RoPkg:...ptions(3pm) man page, User Contributed Perl Documentation. periodt πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from