die SOAP::Fault->faultcode('Server.Custom') # Will be qualified
->faultstring('Died in server method')
->faultdetail(bless {code => 1} => 'BadError')
->faultactor('http://www.soaplite.com/custom');
The faultdetail( ) and faultactor(
) methods are optional, and since
faultcode and faultstring are
required to represent a fault message, SOAP::Lite will use default
values ("Server" and
"Application error") if not
specified.
 |  |  |
14.4. SOAP::Serializer |  | VII. Network Programming |