Soap.Fault exception (Soap v2.0.0)

View Source

A SOAP Fault from the server, in either SOAP version.

  • code - the fault code as sent, such as "soap:Server".
  • subcodes - SOAP 1.2 subcodes, outermost first.
  • message - the human-readable text.
  • actor - who raised it: faultactor in 1.1, Role in 1.2.
  • detail - the decoded detail, if any.
  • status, headers and body - the HTTP reply it arrived in, as in Soap.Response. inspect/1 leaves out the body.

Summary

Types

t()

@type t() :: %Soap.Fault{
  __exception__: term(),
  actor: String.t() | nil,
  body: binary() | nil,
  code: String.t() | nil,
  detail: term(),
  headers: list() | nil,
  message: String.t() | nil,
  status: pos_integer() | nil,
  subcodes: [String.t()]
}