Class ConditionFailedException
Exception thrown when a condition check has failed, indicating that request execution should halt
Implements
Namespace: Seltzr.Exceptions
Assembly: Seltzr.dll
Syntax
C#
public class ConditionFailedException : ApiException, ISerializable
Constructors
Initializes a new instance of the ConditionFailedException class
C#
public ConditionFailedException()
Initializes a new instance of the ConditionFailedException class
C#
public ConditionFailedException(string message)
Parameters
message
String
A message explaining the exception
Initializes a new instance of the ConditionFailedException class
C#
public ConditionFailedException(string message, Exception inner)
Parameters
message
String
A message explaining the exception
inner
Exception
The inner exception that caused this one
Initializes a new instance of the ConditionFailedException class
C#
public ConditionFailedException(string message, Exception inner, int errorCode)
Parameters
message
String
A message explaining the exception
inner
Exception
The inner exception that caused this one
errorCode
Int32
A unique error code for the error that occurred
Initializes a new instance of the ConditionFailedException class
C#
public ConditionFailedException(string message, int errorCode)
Parameters
message
String
A message explaining the exception
errorCode
Int32
A unique error code for the error that occurred