Table of Contents

Class SignalDomainException

Namespace
Signal.Domain.Exceptions
Assembly
Signal.Domain.dll

Raised when a domain invariant is violated, for example when an OutgoingMessage has no recipient. Base class of all domain exceptions.

public class SignalDomainException : Exception, ISerializable
Inheritance
SignalDomainException
Implements
Derived
Inherited Members

Constructors

SignalDomainException(string, Exception?)

Raised when a domain invariant is violated, for example when an OutgoingMessage has no recipient. Base class of all domain exceptions.

public SignalDomainException(string message, Exception? innerException = null)

Parameters

message string

Description of the violated invariant.

innerException Exception

The underlying cause, if any.