using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Tor.Controller
{
///
/// An enumerator containing the status codes sent in response to commands.
///
internal enum StatusCode : int
{
///
/// This should never occur ideally, unless a response was malformed or incomplete.
///
Unknown = 0,
///
/// The command was processed.
///
OK = 250,
///
/// The operation was unnecessary.
///
OperationUnnecessary = 251,
///
/// The resources were exhausted.
///
ResourceExhausted = 451,
///
/// There was a syntax error in the protocol.
///
SyntaxErrorProtocol = 500,
///
/// The command was unrecognized.
///
UnrecognizedCommand = 501,
///
/// The command is unimplemented.
///
UnimplementedCommand = 511,
///
/// There was a syntax error in a command argument.
///
SyntaxErrorArgument = 512,
///
/// The command argument was unrecognized.
///
UnrecognizedCommandArgument = 513,
///
/// The command could not execute because authentication is required.
///
AuthenticationRequired = 514,
///
/// The command to authenticate returned an invalid authentication response.
///
BadAuthentication = 515,
///
/// The command generated a non-specific error response.
///
Unspecified = 550,
///
/// An error occurred within Tor leading to the command failing to execute.
///
InternalError = 551,
///
/// The command contained a configuration key, stream ID, circuit ID, or event which did not exist.
///
UnrecognizedEntity = 552,
///
/// The command sent a configuration value incompatible with the configuration.
///
InvalidConfigurationValue = 553,
///
/// The command contained an invalid descriptor.
///
InvalidDescriptor = 554,
///
/// The command contained a reference to an unmanaged entity.
///
UnmanagedEntity = 555,
///
/// A notification sent following an asynchronous operation.
///
AsynchronousEventNotify = 650,
}
}