Error.h header

#include <ew/core/Error.h>

Namespace ew::core

Error class

class ew::core::Error

A recoverable failure: a human-readable message describing what went wrong. Returned inside a Result (CODING_STANDARDS section 6.5), never thrown for ordinary error conditions.

Members

ew::core::Error::Error(QString message)

Constructs an error with the given human-readable message.

const QString & ew::core::Error::message() const

Returns the human-readable description of the failure.