/* *************************************************************
* Copyright 2017-2024 ANSYS, Inc.
* All Rights Reserved.
*
* Restricted Rights Legend
*
* Use, duplication, or disclosure of this
* software and its documentation by the
* Government is subject to restrictions as
* set forth in subdivision [(b)(3)(ii)] of
* the Rights in Technical Data and Computer
* Software clause at 52.227-7013.
* *************************************************************
*/
#ifndef ___DVS_ERROR_CODES___
#define ___DVS_ERROR_CODES___
#include <stdint.h>
typedef int32_t dvs_ret;
//typedef enum dvs_error dvs_ret;
#define DVS_PARAM_NULL -100
#define DVS_PARAM_INVALID_SIZE -101
#define DVS_PARAM_OUT_OF_BOUNDS -102
#define DVS_INVALID_ID -103
#define DVS_PARAM_INVALID_VAR -104
#define DVS_PARAM_INVALID_VAR_LOC -105
#define DVS_PARAM_INVALID_OBJECT -106
#define DVS_PARAM_INVALID_OBJECT_TYPE -107
#define DVS_PARAM_INVALID_TIME -108
#define DVS_PARAM_OBJECT_DATASET_MISMATCH -109
#define DVS_PARAM_INVALID -110
#define DVS_INVALID_NAME -111
#define DVS_DUPLICATE_ELEM_BLOCK_TYPE -112
#define DVS_TRANSPORT_NULL_INVALID_SERVER -150
#define DVS_TRANSPORT_SERVICE_UNAVAILABLE -151
#define DVS_TRANSPORT_SERVICE_FAILURE -152
#define DVS_ID_INVALID -200
#define DVS_ID_INVALID_TYPE -201
#define DVS_ID_NO_VALID_SERVER -202
#define DVS_ID_NO_VALID_SESSION -203
#define DVS_ID_OUT_OF_IDS -204
#define DVS_SERVER_START_FAILED -300
#define DVS_SERVER_ALREADY_STARTED -301
#define DVS_SERVER_NOT_STARTED -302
#define DVS_SERVER_FAILED_INIT -303
#define DVS_SERVER_FAILED_SYNC_RANKS -304
#define DVS_SERVER_FAILED_DEFINITIONS_MERGE -305
#define DVS_SERVER_FAILED_TIMELINE_SYNC -306
#define DVS_SERVER_FAILED_READER_CREATE -307
#define DVS_SERVER_WAIT_TIMEOUT -308
#define DVS_SERVER_CACHE_NOT_ACCESSIBLE -309
#define DVS_SERVER_QUERY_FAILED -310
#define DVS_SERVER_TERMINATING 300
#define DVS_CLIENT_INVALID_TRANSPORT -400
#define DVS_DATASET_NAME_EMPTY -500
#define DVS_NO_DATA -502
#define DVS_METADATA_NO_HASH_OFFSET_TABLE -600
#define DVS_METADATA_HASH_OFFSET_TABLE_BACKCOMPAT -601
#define DVS_INVALID_STRUCTURED_DATA -700
#define DVS_INVALID_ELEMENT_TYPE -701
#define DVS_INVALID_MESH_TYPE -702
#define DVS_INVALID_CONNECTIVITY_RANGE -703
#define DVS_TYPE_MISMATCH -704
#define DVS_VERSION_MISMATCH -800
#define DVS_VERSION_UNKNOWN -801
#define DVS_QUERY_INVALID_FILTER -900
#define DVS_QUERY_INVALID_URI -901
#define DVS_QUERY_HAS_CHILDREN -903
#define DVS_HASH_NOT_FOUND -8
#define DVS_METADATA_ERROR -7
#define DVS_CACHE_EMPTY -6
#define DVS_CACHE_MISSING_SERVERS -5
#define DVS_INVALID_HASH -4
#define DVS_DATA_FAILED_LOAD -3
#define DVS_INVALID_CACHE -2
#define DVS_UNKNOWN -1
#define DVS_NONE 0
#define DVS_RANK_NOT_INITIALIZED 100
#define DVS_OTHER_RANKS_NOT_INITIALIZED 101
#define DVS_RANK_REINITIALIZING 102
#define DVS_RANK_NOT_REINITIALIZED 103
#define DVS_RANK_ALREADY_REINITIALIZED 104
#define DVS_REINITIALIZE_WAITING_MERGE 105
#define DVS_DELETE_BAD_QUERY 109
#endif //___DVS_ERROR_CODES___
dynamic_visualization_store_error_codes.h
Was this page helpful?