|
PxCrypt v0.2.2
Encrypt data within an image
|
The StandardDecoder::Error class is used to report errors during image decoding. More...
#include <>>
Inherits Qx::AbstractError< "PxCrypt::StandardDecoder::Error", 6878 >.
Public Types | |
| enum | Type { NoError , InvalidSource , MissingMedium , DimensionMismatch , NotLargeEnough , InvalidMeta , SkimFailed } |
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::StandardDecoder::Error::errorString | ( | ) | const |
Returns the string representation of the error.
| bool PxCrypt::StandardDecoder::Error::isValid | ( | ) | const |
Returns true if the error's type is one other than NoError; otherwise, returns false.
| QString PxCrypt::StandardDecoder::Error::specific | ( | ) | const |
Returns instance specific error information, if any.
| StandardDecoder::Error::Type PxCrypt::StandardDecoder::Error::type | ( | ) | const |
Returns the type of decoding error.