 |
LibraryLink Utilities
3.0.1
Modern C++ wrapper over LibraryLink and WSTP
|
Go to the documentation of this file.
7 #ifndef LLU_ERRORLOG_ERRORS_H
8 #define LLU_ERRORLOG_ERRORS_H
43 extern const std::string
NoError;
134 extern const std::string
Aborted;
149 #endif // LLU_ERRORLOG_ERRORS_H
const std::string WSCreateLoopbackError
Could not create a new loopback link.
const std::string WSTestHeadError
WSTestHead failed (wrong head or number of arguments)
const std::string ImageCloneError
MImage cloning failed.
const std::string RankError
same as LIBRARY_RANK_ERROR
const std::string DLInvalidNodeType
DataStoreNode passed to Node wrapper carries data of invalid type.
const std::string MLENullInstance
Missing managed object for a valid ID.
const std::string Aborted
Computation aborted by the user.
const std::string ImageNewError
creating new MImage failed
const std::string SparseArrayImplicitValueError
could not read implicit value from MSparseArray
const std::string WSWrongSymbolForBool
Tried to read something else than "True" or "False" as boolean.
const std::string FunctionError
same as LIBRARY_FUNCTION_ERROR
const std::string WSPutStringError
Could not send string via WSTP.
Main namespace of LibraryLink Utilities.
Definition: Queue.h:13
const std::string SparseArrayCloneError
could not clone MSparseArray
const std::string WSNullWSLinkError
Trying to create WSStream with NULL WSLINK.
const std::string VersionError
same as LIBRARY_VERSION_ERROR
const std::string SparseArrayRowPointersError
could not read row pointers from MSparseArray
const std::string TensorNewError
creating new MTensor failed
const std::string WSLoopbackStackSizeError
Loopback stack size too small to perform desired action.
const std::string WSPutScalarError
Could not send scalar via WSTP.
const std::string DimensionsError
same as LIBRARY_DIMENSIONS_ERROR
const std::string DLNullRawNode
DataStoreNode passed to Node wrapper was null.
const std::string MArgumentIndexError
wrong argument index
const std::string ErrorManagerThrowIdError
trying to throw exception with non-existent id
const std::string WSTransferToLoopbackError
Something went wrong when transferring expressions from loopback link.
const std::string ImageTypeError
Image type mismatch.
const std::string WSGetSymbolError
WSGetSymbol failed.
const std::string MArgumentTensorError
error involving Tensor argument
const std::string MArrayElementIndexError
attempting to access MArray element at invalid index
const std::string TensorSizeError
wrong assumption about Tensor size
const std::string SparseArrayExplicitValuesError
could not read explicit values from MSparseArray
const std::string WSGetListError
Could not get list from WSTP.
const std::string ImageIndexError
trying to access non-existing element
const std::string SparseArrayExplicitPositionsError
could not read explicit positions from MSparseArray
constexpr int FunctionError
same as LIBRARY_FUNCTION_ERROR
Definition: Errors.h:21
const std::string NumericArraySizeError
wrong assumption about NumericArray size
const std::string NumericArrayNewError
creating new NumericArray failed
const std::string WSGetFunctionError
WSGetFunction failed.
const std::string NumericArrayConversionError
conversion from NumericArray of different type failed
const std::string SparseArrayToTensorError
could not dump MSparseArray to MTensor
constexpr int VersionError
same as LIBRARY_VERSION_ERROR
Definition: Errors.h:20
const std::string WSFlowControlError
One of the flow control functions failed.
const std::string NumericArrayTypeError
NumericArray type mismatch.
const std::string NumericArrayCloneError
NumericArray cloning failed.
const std::string CreateFromNullError
attempting to create a generic container from nullptr
const std::string NoError
same as LIBRARY_NO_ERROR
const std::string NumericalError
same as LIBRARY_NUMERICAL_ERROR
const std::string OpenFileFailed
Could not open file.
const std::string WSGetScalarError
Could not get scalar from WSTP.
const std::string TensorCloneError
MTensor cloning failed.
const std::string TypeError
same as LIBRARY_TYPE_ERROR
const std::string WSPutFunctionError
WSPutFunction failed.
const std::string MemoryError
same as LIBRARY_MEMORY_ERROR
const std::string DLPushBackTypeError
Element to be added to the DataList has incorrect type.
const std::string SparseArrayColumnIndicesError
could not read column indices from MSparseArray
const std::string SparseArrayImplicitValueResetError
could not reset the implicit value of MSparseArray
const std::string WSGetArrayError
Could not get array from WSTP.
const std::string TensorTypeError
Tensor type mismatch.
constexpr int RankError
same as LIBRARY_RANK_ERROR
Definition: Errors.h:25
const std::string WSPacketHandleError
One of the packet handling functions failed.
constexpr int NumericalError
same as LIBRARY_NUMERICAL_ERROR
Definition: Errors.h:23
const std::string ErrorManagerCreateNameError
trying to register exception with already existing name
const std::string PathNotValidated
Given file path could not be validated under desired open mode.
constexpr int MemoryError
same as LIBRARY_MEMORY_ERROR
Definition: Errors.h:22
constexpr int NoError
same as LIBRARY_NO_ERROR
Definition: Errors.h:27
const std::string SparseArrayFromTensorError
could not create MSparseArray from MTensor
const std::string MArgumentImageError
error involving Image argument
constexpr int TypeError
same as LIBRARY_TYPE_ERROR
Definition: Errors.h:26
const std::string ArgumentAddNodeMArgument
Trying to add DataStore Node of type MArgument (aka MType_Undef)
const std::string DLSharedDataStore
Trying to create a Shared DataStore. DataStore can only be passed as Automatic or Manual.
const std::string ManagedExprInvalidID
Given number is not an ID of any existing managed expression.
const std::string ImageSizeError
wrong assumption about Image size
const std::string WSPutArrayError
Could not send array via WSTP.
const std::string InvalidOpenMode
Specified open mode is invalid.
const std::string MArgumentNumericArrayError
error involving NumericArray argument
const std::string SparseArrayFromPositionsError
could not create MSparseArray from explicit positions
const std::string ErrorManagerThrowNameError
trying to throw exception with non-existent name
const std::string TensorIndexError
trying to access non-existing element
const std::string WSPutListError
Could not send list via WSTP.
const std::string SparseArrayTypeError
SparseArray type mismatch.
const std::string NumericArrayIndexError
trying to access non-existing element
const std::string MLEDynamicTypeError
Invalid dynamic type requested for a Managed Library Expression.
const std::string DLGetNodeDataError
DataStoreNode_getData failed.
const std::string MArrayDimensionIndexError
attempting to access MArray dimension at invalid index
const std::string WSTestSymbolError
WSTestSymbol failed (different symbol on the link than expected)
const std::string ArgumentCreateNull
Trying to create PrimitiveWrapper object from nullptr.
const std::string WSGetStringError
Could not get string from WSTP.
const std::string LibDataError
WolframLibraryData is not set.
const std::string WSPutSymbolError
WSPutSymbol failed.
constexpr int DimensionsError
same as LIBRARY_DIMENSIONS_ERROR
Definition: Errors.h:24