Sisima...rkError(3pm)
π Sisimai::Reason::NetworkError β the perl doc you didn't know you needed (3pm)
okay bestie sit DOWN because we're reading a manual page together and honestly? it's giving "User Contributed Perl Documentation" realness. this little diva lives in the 3pm section and her whole personality is answering one question: is this bounce a networkerror or not. π
β¨ NAME β¨
Sisimai::Reason::NetworkError β tells you whether the bounce reason is "networkerror" or not. no cap, that's the whole job. π
π¦ SYNOPSIS π¦
use Sisimai::Reason::NetworkError;
print Sisimai::Reason::NetworkError->match('554 5.4.6 Too many hops'); # 1
that # 1 at the end? that's the slay. β¨
πΈ DESCRIPTION πΈ
Sisimai::Reason::NetworkError checks whether the bounce reason is "networkerror" or not. she's the popular girl who only takes calls from one number, and that number is the Sisimai::Reason class β literally, this class is called only by Sisimai::Reason. main character energy, no walk-ins allowed. π
so what IS this error? it's the one where the SMTP connection just... failed. could be a DNS look up failure, could be other network problems, either way: connection said "not today." π this reason got added in Sisimai 4.1.12, so if your version is older than that, she doesn't exist yet, bye.
and here's the vibe in the wild β a message delayed for more than 10 minutes for the following list of recipients:
A message is delayed for more than 10 minutes for the following list of recipients:
kijitora@neko.example.jp: Network error on destination MXs
cat email address, network error on destination MXs. iconic. π±
π CLASS METHODS π
text()
text() method returns the fixed string "networkerror". that's it. she said one word and it was the right one.
print Sisimai::Reason::NetworkError->text; # networkerror
match(string)
match() method returns 1 if the argument matched with patterns defined in this class. hand her a string, she hands you a 1. π€
print Sisimai::Reason::NetworkError->match('5.3.5 System config error'); # 1
true(Sisimai::Fact)
true() method returns 1 if the bounce reason is "networkerror". β οΈ important: the argument must be a Sisimai::Fact object, and this method is called only from the Sisimai::Reason class. so don't just roll up with whatever, bestie, she checks IDs at the door. πͺβ¨
π«Ά AUTHOR π«Ά
azumakuniyuki
β COPYRIGHT β
Copyright (C) 2014-2018,2020-2022,2024-2026 azumakuniyuki, All rights reserved.
(notice the years, she took a lil gap year in 2019 and 2023. we respect the rest era. π)
π LICENSE π
This software is distributed under The BSD 2-Clause License.
and that's the whole page, bestie β you now know more about network errors than 99% of the group chat. go forth and match() responsibly. π¦π
sign-off szn: this page rode in on perl v5.40.1, dated 2026-07-05, and the footer was serving Sisima...rkError(3pm) the whole time. periodt. π
π¦ where this page comes from
- ubuntu stonking: libsisimai-perl 5.7.0-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms