Table of Contents

Class ErrorException

Namespace
OneImlx.Shared.Infrastructure
Assembly
OneImlx.Shared.dll

The exception that represents an error.

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

Constructors

ErrorException(Error)

Initialize a new instance.

public ErrorException(Error error)

Parameters

error Error

The error.

ErrorException(string, string)

Initialize a new instance.

public ErrorException(string error, string errorDescription)

Parameters

error string

The error code.

errorDescription string

The error description.

ErrorException(string, string, params object?[])

Initializes a new error exception.

public ErrorException(string error, string errorDescription, params object?[] args)

Parameters

error string

The error code.

errorDescription string

The error description.

args object[]

The error description format arguments.

Properties

Error

The error.

public Error Error { get; set; }

Property Value

Error

Message

The exception message.

public override string Message { get; }

Property Value

string

Remarks

This method returns the formatted description using FormatDescription().