10 namespace swift::core::fsd
12 ServerError::ServerError() {}
16 :
MessageBase(sender, receiver), m_errorNumber(errorCode), m_causingParameter(causingParameter),
17 m_description(description)
23 ServerErrorCode::CallsignInUse, ServerErrorCode::InvalidCallsign,
24 ServerErrorCode::AlreadyRegistered, ServerErrorCode::InvalidCidPassword,
25 ServerErrorCode::InvalidRevision, ServerErrorCode::RequestedLevelTooHigh,
26 ServerErrorCode::ServerFull, ServerErrorCode::CidSuspended,
27 ServerErrorCode::RatingTooLow, ServerErrorCode::InvalidClient,
28 ServerErrorCode::AuthTimeout,
32 else {
return false; }
48 if (tokens.
size() < 5)
QString m_receiver
message receiver
QString m_sender
message sender
FSD Message Server Error.
QString m_description
Properties.
static ServerError fromTokens(const QStringList &tokens)
Construct from tokens.
QStringList toTokens() const
Message converted to tokens.
bool isFatalError() const
Fatal?
QString m_causingParameter
Properties.
ServerErrorCode m_errorNumber
Properties.
Class for emitting a log message.
Derived & debug()
Set the severity to debug.
ServerErrorCode
Server error codes.
void push_back(QList< T >::parameter_type value)
qsizetype size() const const
QString number(double n, char format, int precision)