Qx v0.5.8
Qt Extensions Library
Loading...
Searching...
No Matches
Qx::QJsonParseErrorAdapter Class Reference

Allows QJsonParseError to be used via the Qx::Error interface. More...

Collaboration diagram for Qx::QJsonParseErrorAdapter:
[legend]

Public Member Functions

 QJsonParseErrorAdapter (const QJsonParseError &e)
 
 QJsonParseErrorAdapter (const QJsonParseErrorAdapter &)=delete
 
 QJsonParseErrorAdapter (QJsonParseErrorAdapter &&)=delete
 
- Public Member Functions inherited from Qx::AbstractError<"QJsonParseError", 500 >
 operator bool () const
 
bool operator!= (const AbstractError &other) const=default
 
bool operator== (const AbstractError &other) const=default
 

Additional Inherited Members

- Static Public Attributes inherited from Qx::AbstractError<"QJsonParseError", 500 >
static constexpr quint16 TYPE_CODE
 
static constexpr QLatin1StringView TYPE_NAME
 
- Protected Member Functions inherited from Qx::IError
 IError ()=default
 
virtual QString deriveCaption () const
 
virtual QString deriveDetails () const
 
virtual Severity deriveSeverity () const
 
bool operator!= (const IError &other) const =default
 
bool operator== (const IError &other) const =default
 

Detailed Description

All errors are assigned the severity of Severity::Err.

Note
This class exists in order to provide an implicit conversion between QJsonParseError and Error, and generally should not be used directly.

Constructor & Destructor Documentation

◆ QJsonParseErrorAdapter()

Qx::QJsonParseErrorAdapter::QJsonParseErrorAdapter ( const QJsonParseError & e)

Constructs an Error adapter for the type QJsonParseError by observing the reference e.


The documentation for this class was generated from the following files: