6 #ifndef SWIFT_CORE_FSD_SERVERERROR_H
7 #define SWIFT_CORE_FSD_SERVERERROR_H
12 namespace swift::core::fsd
20 const QString &causingParameter,
const QString &description);
23 bool isFatalError()
const;
26 QStringList toTokens()
const;
29 static ServerError fromTokens(
const QStringList &tokens);
32 static QString
pdu() {
return "$ER"; }
38 static const QString n(
"no details");
39 return m_causingParameter.isEmpty() ? n : m_causingParameter;
43 static const QString n(
"no description");
44 return m_description.isEmpty() ? n : m_description;
bool operator!=(const AddAtc &lhs, const AddAtc &rhs)
Not equal operator.
QString sender() const
get message sender
QString receiver() const
Get message receiver.
FSD Message Server Error.
static QString pdu()
PDU identifier.
QString m_description
Properties.
const QString & getCausingParameter() const
Getter.
const QString & getDescription() const
Getter.
QString m_causingParameter
Properties.
ServerErrorCode m_errorNumber
Properties.
ServerErrorCode
Server error codes.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.