30 #include <com/avpkit/core/IError.h>
32 namespace com {
namespace avpkit {
namespace core
37 VS_JNIUTILS_REFCOUNTED_OBJECT_PRIVATE_MAKE(
Error);
43 static Error* make(int32_t errNo);
45 static Type errorNumberToType(int32_t errorNo);
46 static int32_t typeToErrorNumber(
Type type);
52 static Error* make(int32_t errNo,
Type type);
virtual int32_t getErrorNumber()
Return the raw integer value that AVPKit returned and was used to create this IError.
virtual Type getType()
Get the OS-independent AVPKit type for this error.
virtual const char * getDescription()
Get a text description for this error.
Maps from int return codes to defined Error values.
Type
A set of errors that AVPKit knows about.
WARNING: Do not use logging in this class, and do not set any static file variables to values other t...