KVIrc  4.9.2
DeveloperAPIs
Namespaces | Enumerations | Functions
KviError.h File Reference

Error List. More...

#include "kvi_settings.h"

Go to the source code of this file.

Namespaces

 KviError
 This namespace handle the error codes.
 

Enumerations

enum  KviError::Code {
  KviError::Success = 0, KviError::UnknownError = 1, KviError::InternalError = 2, KviError::UnknownCommand = 3,
  KviError::MissingClosingBrace = 4, KviError::UnexpectedEndInString = 5, KviError::UnexpectedEndInDictionaryKey = 6, KviError::SwitchDashWithoutSwitchLetter = 7,
  KviError::UnknownFunction = 8, KviError::UnexpectedEndInParenthesis = 9, KviError::UnexpectedEndInFunctionParams = 10, KviError::MissingVariableName = 11,
  KviError::VariableOrIdentifierExpected = 12, KviError::LeftOperandIsNotANumber = 13, KviError::MultipleOpsNotSupportedForOperator = 14, KviError::DivisionByZero = 15,
  KviError::ModuloByZero = 16, KviError::RightOperandIsNotANumber = 17, KviError::UnterminatedExpression = 18, KviError::UnterminatedSubexpression = 19,
  KviError::UnexpectedCharacter = 20, KviError::UnknownOperator = 21, KviError::NoHostToResolve = 22, KviError::UnsupportedAddressFamily = 23,
  KviError::ValidNameButNoIpAddress = 24, KviError::UnrecoverableNameserverError = 25, KviError::DNSTemporaneousFault = 26, KviError::DNSInternalErrorBadFlags = 27,
  KviError::DNSInternalErrorOutOfMemory = 28, KviError::DNSInternalErrorServiceNotSupported = 29, KviError::DNSNoName = 30, KviError::DNSInternalErrorUnsupportedSocketType = 31,
  KviError::DNSQueryFailed = 32, KviError::NoIPv6Support = 33, KviError::HostNotFound = 34, KviError::DNSInternalIPCFailure = 35,
  KviError::AnotherConnectionInProgress = 36, KviError::InvalidIpAddress = 37, KviError::SocketCreationFailed = 38, KviError::AsyncSocketFailed = 39,
  KviError::BadFileDescriptor = 40, KviError::OutOfAddressSpace = 41, KviError::ConnectionRefused = 42, KviError::KernelNetworkingPanic = 43,
  KviError::ConnectionTimedOut = 44, KviError::NetworkUnreachable = 45, KviError::BrokenPipe = 46, KviError::InvalidProxyAddress = 47,
  KviError::RemoteEndClosedConnection = 48, KviError::InvalidIrcContextId = 49, KviError::ErrorInLoadingModule = 50, KviError::NoSuchModuleCommand = 51,
  KviError::NoSuchModuleFunction = 52, KviError::LeftOperandIsNotADictionaryReference = 53, KviError::RightOperandIsNotADictionaryReference = 54, KviError::MissingObjectClassName = 55,
  KviError::NoSuchObjectClass = 56, KviError::NoSuchObject = 57, KviError::NoSuchObjectFunction = 58, KviError::InvalidLeftOperand = 59,
  KviError::NotEnoughParameters = 60, KviError::IntegerParameterExpected = 61, KviError::InvalidParameter = 62, KviError::NoSuchFile = 63,
  KviError::OpenParenthesisExpected = 64, KviError::OpenBraceExpected = 65, KviError::CantKillABuiltinClass = 66, KviError::SocksV4LacksIPv6Support = 67,
  KviError::UnrecognizedProxyReply = 68, KviError::ProxyAuthFailed = 69, KviError::ProxyNoAcceptableAuthMethod = 70, KviError::ProxyReply91RequestFailed = 71,
  KviError::ProxyReply92IdentFailed = 72, KviError::ProxyReply93IdentNotMatching = 73, KviError::ProxyReply01GeneralSOCKSFailure = 74, KviError::ProxyReply02ConnectionNotAllowed = 75,
  KviError::ProxyReply03NetworkUnreachable = 76, KviError::ProxyReply04HostUnreachable = 77, KviError::ProxyReply05ConnectionRefused = 78, KviError::ProxyReply06TTLExpired = 79,
  KviError::ProxyReply07CommandNotSupported = 80, KviError::ProxyReply08AddressTypeNotSupported = 81, KviError::ProxyReply09InvalidAddress = 82, KviError::InvalidPortNumber = 83,
  KviError::SocketNotConnected = 84, KviError::InsufficientResources = 85, KviError::BindFailed = 86, KviError::CantResolveLocalhost = 87,
  KviError::UnsupportedImageFormat = 88, KviError::CantOpenFileForAppending = 89, KviError::CantOpenFileForWriting = 90, KviError::FileIOError = 91,
  KviError::AcknowledgeError = 92, KviError::CantOpenFileForReading = 93, KviError::CantSendAZeroSizeFile = 94, KviError::MissingPopupName = 95,
  KviError::ItemPopupOrSeparatorExpected = 96, KviError::SelfModificationNotAllowed = 97, KviError::FeatureNotAvailable = 98, KviError::UnexpectedCharactersInArrayIndex = 99,
  KviError::UnexpectedEndInExpression = 100, KviError::UnexpectedEndInArrayIndex = 101, KviError::ProxyHttpFailure = 102, KviError::CaseMatchRegexpDefaultOrBreakExpected = 103,
  KviError::AccessDenied = 104, KviError::AddressAlreadyInUse = 105, KviError::CantAssignRequestedAddress = 106, KviError::ConnectionResetByPeer = 107,
  KviError::HostUnreachable = 108, KviError::VariableExpected = 109, KviError::InvalidArrayIndex = 110, KviError::ListenFailed = 111,
  KviError::NoSSLSupport = 112, KviError::SSLError = 113, KviError::SlashCharacterExpected = 114, KviError::UnknownStringManipulationOperator = 115,
  KviError::OperationAborted = 116, KviError::UnexpectedToken = 117, KviError::ScopeObjectAlreadyDefined = 118, KviError::NoThisObject = 119,
  KviError::ErrorCount = 120
}
 Contains all error codes. More...
 

Functions

QString KviError::getDescription (KviError::Code eError)
 Returns the description of the error. More...
 
const char * KviError::getUntranslatedDescription (KviError::Code eError)
 Returns an untranslated description of the error. More...
 
KviError::Code KviError::translateSystemError (int iErrNo)
 Gets system errors and returns their code number. More...
 

Detailed Description

Error List.

Author
Szymon Stefanek