Class RequestValidationException
Represents exception information for request input data validation errors.
Inheritance
System.Object
    RequestValidationException
  Namespace: Alpaca.Markets
Assembly: Alpaca.Markets.dll
Syntax
public sealed class RequestValidationException : ExceptionConstructors
| Improve this Doc View SourceRequestValidationException()
Creates new instance of RequestValidationException class.
Declaration
public RequestValidationException()RequestValidationException(String)
Creates new instance of RequestValidationException class with specified error message.
Declaration
public RequestValidationException(String message)Parameters
| Type | Name | Description | 
|---|---|---|
| String | message | The message that describes the error. | 
RequestValidationException(String, Exception)
Creates new instance of RequestValidationException class with specified error message and reference to the inner exception that is the cause of this exception.
Declaration
public RequestValidationException(String message, Exception inner)Parameters
| Type | Name | Description | 
|---|---|---|
| String | message | The message that describes the error. | 
| Exception | inner | The exception that is the cause of this exception. | 
RequestValidationException(String, String)
Creates new instance of RequestValidationException class with specified error message.
Declaration
public RequestValidationException(String message, String propertyName)Parameters
| Type | Name | Description | 
|---|---|---|
| String | message | The message that describes the error. | 
| String | propertyName | The invalid property name. | 
Properties
| Improve this Doc View SourcePropertyName
Gets the invalid property name that causes this validation exception.
Declaration
public String PropertyName { get; }Property Value
| Type | Description | 
|---|---|
| String |