LibraryLink Utilities  3.0.1
Modern C++ wrapper over LibraryLink and WSTP
LLU::ErrorName Namespace Reference

Names of all errors used across LLU. More...

Detailed Description

Names of all errors used across LLU.

Variables

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

Variable Documentation

◆ Aborted

const std::string LLU::ErrorName::Aborted

Computation aborted by the user.

◆ ArgumentAddNodeMArgument

const std::string LLU::ErrorName::ArgumentAddNodeMArgument

Trying to add DataStore Node of type MArgument (aka MType_Undef)

◆ ArgumentCreateNull

const std::string LLU::ErrorName::ArgumentCreateNull

Trying to create PrimitiveWrapper object from nullptr.

◆ CreateFromNullError

const std::string LLU::ErrorName::CreateFromNullError

attempting to create a generic container from nullptr

◆ DimensionsError

const std::string LLU::ErrorName::DimensionsError

same as LIBRARY_DIMENSIONS_ERROR

◆ DLGetNodeDataError

const std::string LLU::ErrorName::DLGetNodeDataError

DataStoreNode_getData failed.

◆ DLInvalidNodeType

const std::string LLU::ErrorName::DLInvalidNodeType

DataStoreNode passed to Node wrapper carries data of invalid type.

◆ DLNullRawNode

const std::string LLU::ErrorName::DLNullRawNode

DataStoreNode passed to Node wrapper was null.

◆ DLPushBackTypeError

const std::string LLU::ErrorName::DLPushBackTypeError

Element to be added to the DataList has incorrect type.

◆ DLSharedDataStore

const std::string LLU::ErrorName::DLSharedDataStore

Trying to create a Shared DataStore. DataStore can only be passed as Automatic or Manual.

◆ ErrorManagerCreateNameError

const std::string LLU::ErrorName::ErrorManagerCreateNameError

trying to register exception with already existing name

◆ ErrorManagerThrowIdError

const std::string LLU::ErrorName::ErrorManagerThrowIdError

trying to throw exception with non-existent id

◆ ErrorManagerThrowNameError

const std::string LLU::ErrorName::ErrorManagerThrowNameError

trying to throw exception with non-existent name

◆ FunctionError

const std::string LLU::ErrorName::FunctionError

same as LIBRARY_FUNCTION_ERROR

◆ ImageCloneError

const std::string LLU::ErrorName::ImageCloneError

MImage cloning failed.

◆ ImageIndexError

const std::string LLU::ErrorName::ImageIndexError

trying to access non-existing element

◆ ImageNewError

const std::string LLU::ErrorName::ImageNewError

creating new MImage failed

◆ ImageSizeError

const std::string LLU::ErrorName::ImageSizeError

wrong assumption about Image size

◆ ImageTypeError

const std::string LLU::ErrorName::ImageTypeError

Image type mismatch.

◆ InvalidOpenMode

const std::string LLU::ErrorName::InvalidOpenMode

Specified open mode is invalid.

◆ LibDataError

const std::string LLU::ErrorName::LibDataError

WolframLibraryData is not set.

◆ ManagedExprInvalidID

const std::string LLU::ErrorName::ManagedExprInvalidID

Given number is not an ID of any existing managed expression.

◆ MArgumentImageError

const std::string LLU::ErrorName::MArgumentImageError

error involving Image argument

◆ MArgumentIndexError

const std::string LLU::ErrorName::MArgumentIndexError

wrong argument index

◆ MArgumentNumericArrayError

const std::string LLU::ErrorName::MArgumentNumericArrayError

error involving NumericArray argument

◆ MArgumentTensorError

const std::string LLU::ErrorName::MArgumentTensorError

error involving Tensor argument

◆ MArrayDimensionIndexError

const std::string LLU::ErrorName::MArrayDimensionIndexError

attempting to access MArray dimension at invalid index

◆ MArrayElementIndexError

const std::string LLU::ErrorName::MArrayElementIndexError

attempting to access MArray element at invalid index

◆ MemoryError

const std::string LLU::ErrorName::MemoryError

same as LIBRARY_MEMORY_ERROR

◆ MLEDynamicTypeError

const std::string LLU::ErrorName::MLEDynamicTypeError

Invalid dynamic type requested for a Managed Library Expression.

◆ MLENullInstance

const std::string LLU::ErrorName::MLENullInstance

Missing managed object for a valid ID.

◆ NoError

const std::string LLU::ErrorName::NoError

same as LIBRARY_NO_ERROR

◆ NumericalError

const std::string LLU::ErrorName::NumericalError

same as LIBRARY_NUMERICAL_ERROR

◆ NumericArrayCloneError

const std::string LLU::ErrorName::NumericArrayCloneError

NumericArray cloning failed.

◆ NumericArrayConversionError

const std::string LLU::ErrorName::NumericArrayConversionError

conversion from NumericArray of different type failed

◆ NumericArrayIndexError

const std::string LLU::ErrorName::NumericArrayIndexError

trying to access non-existing element

◆ NumericArrayNewError

const std::string LLU::ErrorName::NumericArrayNewError

creating new NumericArray failed

◆ NumericArraySizeError

const std::string LLU::ErrorName::NumericArraySizeError

wrong assumption about NumericArray size

◆ NumericArrayTypeError

const std::string LLU::ErrorName::NumericArrayTypeError

NumericArray type mismatch.

◆ OpenFileFailed

const std::string LLU::ErrorName::OpenFileFailed

Could not open file.

◆ PathNotValidated

const std::string LLU::ErrorName::PathNotValidated

Given file path could not be validated under desired open mode.

◆ RankError

const std::string LLU::ErrorName::RankError

same as LIBRARY_RANK_ERROR

◆ SparseArrayCloneError

const std::string LLU::ErrorName::SparseArrayCloneError

could not clone MSparseArray

◆ SparseArrayColumnIndicesError

const std::string LLU::ErrorName::SparseArrayColumnIndicesError

could not read column indices from MSparseArray

◆ SparseArrayExplicitPositionsError

const std::string LLU::ErrorName::SparseArrayExplicitPositionsError

could not read explicit positions from MSparseArray

◆ SparseArrayExplicitValuesError

const std::string LLU::ErrorName::SparseArrayExplicitValuesError

could not read explicit values from MSparseArray

◆ SparseArrayFromPositionsError

const std::string LLU::ErrorName::SparseArrayFromPositionsError

could not create MSparseArray from explicit positions

◆ SparseArrayFromTensorError

const std::string LLU::ErrorName::SparseArrayFromTensorError

could not create MSparseArray from MTensor

◆ SparseArrayImplicitValueError

const std::string LLU::ErrorName::SparseArrayImplicitValueError

could not read implicit value from MSparseArray

◆ SparseArrayImplicitValueResetError

const std::string LLU::ErrorName::SparseArrayImplicitValueResetError

could not reset the implicit value of MSparseArray

◆ SparseArrayRowPointersError

const std::string LLU::ErrorName::SparseArrayRowPointersError

could not read row pointers from MSparseArray

◆ SparseArrayToTensorError

const std::string LLU::ErrorName::SparseArrayToTensorError

could not dump MSparseArray to MTensor

◆ SparseArrayTypeError

const std::string LLU::ErrorName::SparseArrayTypeError

SparseArray type mismatch.

◆ TensorCloneError

const std::string LLU::ErrorName::TensorCloneError

MTensor cloning failed.

◆ TensorIndexError

const std::string LLU::ErrorName::TensorIndexError

trying to access non-existing element

◆ TensorNewError

const std::string LLU::ErrorName::TensorNewError

creating new MTensor failed

◆ TensorSizeError

const std::string LLU::ErrorName::TensorSizeError

wrong assumption about Tensor size

◆ TensorTypeError

const std::string LLU::ErrorName::TensorTypeError

Tensor type mismatch.

◆ TypeError

const std::string LLU::ErrorName::TypeError

same as LIBRARY_TYPE_ERROR

◆ VersionError

const std::string LLU::ErrorName::VersionError

same as LIBRARY_VERSION_ERROR

◆ WSCreateLoopbackError

const std::string LLU::ErrorName::WSCreateLoopbackError

Could not create a new loopback link.

◆ WSFlowControlError

const std::string LLU::ErrorName::WSFlowControlError

One of the flow control functions failed.

◆ WSGetArrayError

const std::string LLU::ErrorName::WSGetArrayError

Could not get array from WSTP.

◆ WSGetFunctionError

const std::string LLU::ErrorName::WSGetFunctionError

WSGetFunction failed.

◆ WSGetListError

const std::string LLU::ErrorName::WSGetListError

Could not get list from WSTP.

◆ WSGetScalarError

const std::string LLU::ErrorName::WSGetScalarError

Could not get scalar from WSTP.

◆ WSGetStringError

const std::string LLU::ErrorName::WSGetStringError

Could not get string from WSTP.

◆ WSGetSymbolError

const std::string LLU::ErrorName::WSGetSymbolError

WSGetSymbol failed.

◆ WSLoopbackStackSizeError

const std::string LLU::ErrorName::WSLoopbackStackSizeError

Loopback stack size too small to perform desired action.

◆ WSNullWSLinkError

const std::string LLU::ErrorName::WSNullWSLinkError

Trying to create WSStream with NULL WSLINK.

◆ WSPacketHandleError

const std::string LLU::ErrorName::WSPacketHandleError

One of the packet handling functions failed.

◆ WSPutArrayError

const std::string LLU::ErrorName::WSPutArrayError

Could not send array via WSTP.

◆ WSPutFunctionError

const std::string LLU::ErrorName::WSPutFunctionError

WSPutFunction failed.

◆ WSPutListError

const std::string LLU::ErrorName::WSPutListError

Could not send list via WSTP.

◆ WSPutScalarError

const std::string LLU::ErrorName::WSPutScalarError

Could not send scalar via WSTP.

◆ WSPutStringError

const std::string LLU::ErrorName::WSPutStringError

Could not send string via WSTP.

◆ WSPutSymbolError

const std::string LLU::ErrorName::WSPutSymbolError

WSPutSymbol failed.

◆ WSTestHeadError

const std::string LLU::ErrorName::WSTestHeadError

WSTestHead failed (wrong head or number of arguments)

◆ WSTestSymbolError

const std::string LLU::ErrorName::WSTestSymbolError

WSTestSymbol failed (different symbol on the link than expected)

◆ WSTransferToLoopbackError

const std::string LLU::ErrorName::WSTransferToLoopbackError

Something went wrong when transferring expressions from loopback link.

◆ WSWrongSymbolForBool

const std::string LLU::ErrorName::WSWrongSymbolForBool

Tried to read something else than "True" or "False" as boolean.