Kanzi 4.1.0
interop_exceptions.hpp File Reference

Classes

struct  NativeExceptionWrapper
 The NativeExceptionWrapper class is used to store a native exception ptr in a foreign language. More...
 
class  kanzi::interop::StaleObjectException
 Exception which is thrown when a wrapper no longer points to a valid object. More...
 

Namespaces

namespace  kanzi
 
namespace  kanzi::interop
 

Typedefs

using ErrorCallback
 

Enumerations

enum class  ErrorCode {
  Unknown , ObjectNotFound , InvalidArgument , IndexOutofBounds ,
  FileNotFound , InvalidKzbFile , AlreadyExists , MetaclassSealed
}
 

Functions

KANZI_INTEROP_API void kanzi::interop::handleErrorCallback (ErrorCode code, const char *message)
 
KANZI_INTEROP_API void kanzi::interop::setErrorCallback (ErrorCallback *callback)
 
KANZI_INTEROP_API void kanzi::interop::setErrorUserData (void *userData)
 

Typedef Documentation

◆ ErrorCallback

Enumeration Type Documentation

◆ ErrorCode

enum class ErrorCode
strong
Enumerator
Unknown 
ObjectNotFound 
InvalidArgument 
IndexOutofBounds 
FileNotFound 
InvalidKzbFile 
AlreadyExists 
MetaclassSealed