Returns the embedded exception object.

C# |
public Exception EmbeddedException { get; }

The embedded exception.
When an exception is thrown from the service, the middleware will embed the service exception within a SoamException to provide context.
This method will retrieve the embedded exception thrown in the service. If no exception is embedded it will return null.