WSNoti...seFault(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

✨ NAME ✨

WSNotification::Elements::BaseFault β€” bestie, it's the Perl data type class for the XML Schema defined element BaseFault, and it lives in the namespace http://docs.oasis-open.org/wsrf/bf-2. That's the whole vibe. πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

Okay so real talk: this is a Perl data type class for the XML Schema defined element BaseFault, straight out of the namespace http://docs.oasis-open.org/wsrf/bf-2. That's it, that's the girl. She holds the data, she knows her schema, she's not doing anything extra. Main character energy but make it XML. πŸ‘‘


🌸 METHODS 🌸

πŸŽ€ new

my $element = WSNotification::Elements::BaseFault->new($data);

Constructor! The way that you can pass this data structure to new(), and I need you to look at it, because it's giving very nested, very structured, very slay: πŸ’…

{ # WSNotification::Types::BaseFaultType
  Timestamp =>  $some_value, # dateTime
  Originator =>  { # WSNotification::Types::EndpointReferenceType
    Address =>  { value => $some_value },
    ReferenceParameters =>  { # WSNotification::Types::ReferenceParametersType
    },
    Metadata =>  { # WSNotification::Types::MetadataType
    },
  },
  ErrorCode =>
# No documentation generated for complexContent / extension yet
,
  Description =>  { value => $some_value },
  FaultCause =>  {
  },
},

Not the ErrorCode => sitting there with nothing but a comment bestie 😭 β€” that's # No documentation generated for complexContent / extension yet, so no, we don't know what goes in it, and no, I will not be guessing. Lowkey iconic of it to just leave that blank with confidence. ✨


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL β€” it literally says so, that's not me being dramatic, that's the origin story. 🫢


πŸ’€ one (1) tiny warning before you go: that ErrorCode slot genuinely has no docs generated for the complexContent / extension situation yet, so don't come for me, come for the generator. fr fr.

okay so that's the whole page, periodt ✨ β€” this was WSNoti...seFault(3pm) from the perl v5.40.1 era, dated 2026-02-01, and honestly? she ate. πŸ’– 🌈 πŸŽ€ πŸ’œ

πŸ“¦ where this page comes from