DuxReiNummariae 1.0.0-alpha.23
Simple and powerful budgeting application
 
Loading...
Searching...
No Matches
drn::desktop_ui::DataEntryError Struct Referencefinal

Represents an error with the data in a widget. More...

#include <DesktopUiErrors.h>

Inheritance diagram for drn::desktop_ui::DataEntryError:
Collaboration diagram for drn::desktop_ui::DataEntryError:

Public Member Functions

 DataEntryError (const ::QString &, const ::QString &, const char *, const std::exception &={})=delete
 
 DataEntryError (const ::QString &, const char *, const ::QString &, const std::exception &={})=delete
 
 DataEntryError (const ::QString &, const char *, const char *, const std::exception &={})=delete
 
 DataEntryError (const ::QString &dataEntryType, const ::QString &errorValue, const ::QString &detailedMessage, const std::exception &root={})
 
 DataEntryError (const char *, const ::QString &, const ::QString &, const std::exception &={})=delete
 
 DataEntryError (const char *, const ::QString &, const char *, const std::exception &={})=delete
 
 DataEntryError (const char *, const char *, const ::QString &, const std::exception &={})=delete
 
 DataEntryError (const char *, const char *, const char *, const std::exception &={})=delete
 
- Public Member Functions inherited from drn::foundation::Error
 Error (const ::QString &message)
 Error message constructor.
 
 Error (const ::QString &message, const std::exception &root)
 Error and supplementary context data constructor.
 
 Error (const char *)=delete
 
 Error (const char *, const std::exception &)=delete
 
const ::QString & message () const noexcept
 An accessor to the error message.
 

Detailed Description

Represents an error with the data in a widget.

Constructor & Destructor Documentation

◆ DataEntryError() [1/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const ::QString & dataEntryType,
const ::QString & errorValue,
const ::QString & detailedMessage,
const std::exception & root = {} )

Constructor for creating a specialised message for a data entry issue. The message is in the form of errorValue in dataEntryType then detailedMessage.

Parameters
dataEntryTypeThe type of the widget that has the issue.
errorValueThe invalid value for that widget type.
detailedMessageThe detailed reason why the value is invalid.
rootWhen supplied, the exception that originally caused an issue.

◆ DataEntryError() [2/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const char * ,
const ::QString & ,
const ::QString & ,
const std::exception & = {} )
delete

◆ DataEntryError() [3/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const ::QString & ,
const char * ,
const ::QString & ,
const std::exception & = {} )
delete

◆ DataEntryError() [4/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const ::QString & ,
const ::QString & ,
const char * ,
const std::exception & = {} )
delete

◆ DataEntryError() [5/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const char * ,
const char * ,
const ::QString & ,
const std::exception & = {} )
delete

◆ DataEntryError() [6/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const ::QString & ,
const char * ,
const char * ,
const std::exception & = {} )
delete

◆ DataEntryError() [7/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const char * ,
const ::QString & ,
const char * ,
const std::exception & = {} )
delete

◆ DataEntryError() [8/8]

drn::desktop_ui::DataEntryError::DataEntryError ( const char * ,
const char * ,
const char * ,
const std::exception & = {} )
delete