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
ErrorThe error.
ErrorException(string, string)
Initialize a new instance.
public ErrorException(string error, string errorDescription)
Parameters
ErrorException(string, string, params object?[])
Initializes a new error exception.
public ErrorException(string error, string errorDescription, params object?[] args)
Parameters
error
stringThe error code.
errorDescription
stringThe error description.
args
object[]The error description format arguments.
Properties
Error
The error.
public Error Error { get; set; }
Property Value
Message
The exception message.
public override string Message { get; }
Property Value
Remarks
This method returns the formatted description using FormatDescription().