C# Class Octopus.Client.Exceptions.OctopusValidationException

An exception thrown when there was a problem with the request (usually a HTTP 400).
Inheritance: OctopusException
Show file Open project: OctopusDeploy/Octo.exe

Public Methods

Method Description
OctopusValidationException ( int httpStatusCode, string message, ICollection errors ) : System

Initializes a new instance of the OctopusValidationException class.

OctopusValidationException ( string message, ICollection errors ) : System

Initializes a new instance of the OctopusValidationException class.

Method Details

OctopusValidationException() public method

Initializes a new instance of the OctopusValidationException class.
public OctopusValidationException ( int httpStatusCode, string message, ICollection errors ) : System
httpStatusCode int The HTTP status code.
message string The message.
errors ICollection The errors.
return System

OctopusValidationException() public method

Initializes a new instance of the OctopusValidationException class.
public OctopusValidationException ( string message, ICollection errors ) : System
message string The message.
errors ICollection The errors.
return System