Skip to content

PgAssertException

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Reports a failed PgAssert check.

public sealed class PgAssertException : Exception, ISerializable

Inheritance: object, Exception

Implements: ISerializable

Creates a failure without details.

public PgAssertException()

Creates a failure with a message.

public PgAssertException(string message)

Parameters:

message — string

The message.

Creates a failure with a message and its cause.

public PgAssertException(string message, Exception innerException)

Parameters:

message — string

The message.

innerException — Exception

The cause.