ONVIF::...s::Fault(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ¦‹ 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 is QName (yes, capital Q, capital N, respect it).
  • faultstring β†’ takes $some_value, type is string. the name says it all, it's a string, we move.
  • faultactor β†’ takes $some_value, type is anyURI. that's anyURI with the camelCase, not anyuri, don't embarrass yourself πŸ™ˆ
  • detail β†’ this one's a whole nested hash, type is ONVIF::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