PortablePrism.Portable by Andrii Chebukin

<PackageReference Include="PortablePrism.Portable" Version="1.0.1" />

 ModularityException

Base class for exceptions that are thrown because of a problem with modules.
public string ModuleName { get; set; }

Gets or sets the name of the module that this exception refers to.

Initializes a new instance of the ModularityException class.

public ModularityException(string message)

Initializes a new instance of the ModularityException class.

public ModularityException(string message, Exception innerException)

Initializes a new instance of the ModularityException class.

public ModularityException(string moduleName, string message)

Initializes the exception with a particular module and error message.

public ModularityException(string moduleName, string message, Exception innerException)

Initializes the exception with a particular module, error message and inner exception that happened.