C# Class Octopus.Client.Exceptions.OctopusSecurityException

An exception thrown when the Octopus Server responds with HTTP 401 or 403, indicating that the current user's API key was not valid, their account is disabled, or they don't have permission to perform the specified action.
Inheritance: OctopusException
Show file Open project: OctopusDeploy/OctopusClients

Public Methods

Method Description
OctopusSecurityException ( int httpStatusCode, string message ) : System

Initializes a new instance of the OctopusSecurityException class.

Method Details

OctopusSecurityException() public method

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