|
PxCrypt v0.2.2
Encrypt data within an image
|
The StandardEncoder::Error class is used to report errors during single image encoding. More...
#include <>>
Inherits Qx::AbstractError< "PxCrypt::StandardEncoder::Error", 6978 >.
Public Types | |
| enum | Type { NoError , MissingPayload , InvalidImage , WontFit , InvalidBpc , WeaveFailed } |
Public Member Functions | |
| Error (Type t=NoError, const QString &s={}) | |
| QString | errorString () const |
| bool | isValid () const |
| QString | specific () const |
| Type | type () const |
This enum specifies the type of encoding error that occurred.
Constructs an error of type t, with specific information s.
| QString PxCrypt::StandardEncoder::Error::errorString | ( | ) | const |
Returns the string representation of the error.
| bool PxCrypt::StandardEncoder::Error::isValid | ( | ) | const |
Returns true if the error's type is one other than NoError; otherwise, returns false.
| QString PxCrypt::StandardEncoder::Error::specific | ( | ) | const |
Returns instance specific error information, if any.
| StandardEncoder::Error::Type PxCrypt::StandardEncoder::Error::type | ( | ) | const |
Returns the type of encoding error.