The SoapFault class

(PHP 5, PHP 7, PHP 8)

Introduction

Represents a SOAP fault.

Class synopsis

classSoapFaultextendsException {
public?string$faultcode = null;
public?string$faultcodens = null;
public?string$faultactor = null;
publicmixed$detail = null;
public?string$_name = null;
publicmixed$headerfault = null;
protectedstring$message = "";
privatestring$string = "";
protectedint$code;
protectedstring$file = "";
protectedint$line;
privatearray$trace = [];
private?Throwable$previous = null;
public__construct(
    array|string|null$code,
    string$string,
    ?string$actor = null,
    mixed$details = null,
    ?string$name = null,
    mixed$headerFault = null
)
finalpublicException::getCode(): int
finalpublicException::getLine(): int
}

Properties

_name

detail

faultactor

faultcode

faultcodens

faultstring

headerfault

Table of Contents

To Top