ONVIF::...s::Fault(3)
π¦ ONVIF::PTZ::Elements::Fault β that's the ONVIF::...s::Fault(3) page bestie π
okay so real talk, the manual name got squished down to ONVIF::...s::Fault(3) in the header (rude, honestly, the ellipsis ate the whole vibe), but the actual full name of this thing is ONVIF::PTZ::Elements::Fault and that's what we're talking about today. grab a strawberry π and let's go.
β¨ NAME β¨
ONVIF::PTZ::Elements::Fault β literally just that, that's the name, that's the whole thing, no notes π
πΈ DESCRIPTION πΈ
So what is this? It's a Perl data type class for the XML Schema defined element Fault, and it comes from the namespace http://schemas.xmlsoap.org/soap/envelope/. Yes the whole URL, yes you need all of it, don't @ me.
Like, it's giving "classy Perl wrapper for a SOAP fault element" and honestly? it ate. π
π§ METHODS π§
β new
my $element = ONVIF::PTZ::Elements::Fault->new($data);
This is the constructor, bestie. You call it, you get an element back. Iconic behaviour, truly no cap.
The following data structure may be passed to new():
{ # ONVIF::PTZ::Types::Fault
faultcode => $some_value, # QName
faultstring => $some_value, # string
faultactor => $some_value, # anyURI
detail => { # ONVIF::PTZ::Types::detail
},
},
okay so let me walk you through the keys real quick because they all matter and none of them are optional gossip:
faultcodeβ takes$some_value, and the type isQName(yes, capital Q, capital N, respect it).faultstringβ takes$some_value, type isstring. the name says it all, it's a string, we move.faultactorβ takes$some_value, type isanyURI. that'sanyURIwith the camelCase, notanyuri, don't embarrass yourself πdetailβ this one's a whole nested hash, type isONVIF::PTZ::Types::detail, and inside it... there's nothing listed. that's it. empty. a little mystery box π β literally just{ }and that's what the docs show, so that's what you get.
β οΈ heads up bestie: the detail sub-structure is shown with no members listed in this page. don't go inventing keys for it, i'm just telling you what's here, fr fr. π₯
π AUTHOR π
Generated by SOAP::WSDL β that's the author line, that's the whole credit, the machine did it and we're grateful πβ¨
and that's the page!! π cute little sign-off for you: this one's from perl v5.42.3, dated 1980-01-01 (yes, literally 1980, that date is older than everyone in the group chat π), and the manual name is, once again, ONVIF::...s::Fault(3). slay, bye π«Άπ
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms