Skip to main content

Post-processing tools 2024 R1

dynamic_visualization_store_error_codes

Last update: 16.07.2025
Go to the documentation of this file.
1/* *************************************************************
2 * Copyright 2017-2023 ANSYS, Inc.
3 * All Rights Reserved.
4 *
5 * Restricted Rights Legend
6 *
7 * Use, duplication, or disclosure of this
8 * software and its documentation by the
9 * Government is subject to restrictions as
10 * set forth in subdivision [(b)(3)(ii)] of
11 * the Rights in Technical Data and Computer
12 * Software clause at 52.227-7013.
13 * *************************************************************
14 */
15
16#ifndef ___DVS_ERROR_CODES___
17#define ___DVS_ERROR_CODES___
18
19#include <stdint.h>
20
32typedef int32_t dvs_ret;
33//typedef enum dvs_error dvs_ret;
34
35#define DVS_PARAM_NULL -100
36#define DVS_PARAM_INVALID_SIZE -101
37#define DVS_PARAM_OUT_OF_BOUNDS -102
38#define DVS_INVALID_ID -103
39#define DVS_PARAM_INVALID_VAR -104
40#define DVS_PARAM_INVALID_VAR_LOC -105
41#define DVS_PARAM_INVALID_OBJECT -106
42#define DVS_PARAM_INVALID_OBJECT_TYPE -107
43#define DVS_PARAM_INVALID_TIME -108
44#define DVS_PARAM_OBJECT_DATASET_MISMATCH -109
45#define DVS_PARAM_INVALID -110
46#define DVS_INVALID_NAME -111
47#define DVS_DUPLICATE_ELEM_BLOCK_TYPE -112
48
49#define DVS_TRANSPORT_NULL_INVALID_SERVER -150
50#define DVS_TRANSPORT_SERVICE_UNAVAILABLE -151
51#define DVS_TRANSPORT_SERVICE_FAILURE -152
52
53#define DVS_ID_INVALID -200
54#define DVS_ID_INVALID_TYPE -201
55#define DVS_ID_NO_VALID_SERVER -202
56#define DVS_ID_NO_VALID_SESSION -203
57#define DVS_ID_OUT_OF_IDS -204
58
59#define DVS_SERVER_START_FAILED -300
60#define DVS_SERVER_ALREADY_STARTED -301
61#define DVS_SERVER_NOT_STARTED -302
62#define DVS_SERVER_FAILED_INIT -303
63#define DVS_SERVER_FAILED_SYNC_RANKS -304
64#define DVS_SERVER_FAILED_DEFINITIONS_MERGE -305
65#define DVS_SERVER_FAILED_TIMELINE_SYNC -306
66#define DVS_SERVER_FAILED_READER_CREATE -307
67#define DVS_SERVER_WAIT_TIMEOUT -308
68#define DVS_SERVER_CACHE_NOT_ACCESSIBLE -309
69#define DVS_SERVER_TERMINATING 300
70
71#define DVS_CLIENT_INVALID_TRANSPORT -400
72
73#define DVS_DATASET_NAME_EMPTY -500
74
75#define DVS_NO_DATA -502
76
77#define DVS_INVALID_STRUCTURED_DATA -700
78#define DVS_INVALID_ELEMENT_TYPE -701
79#define DVS_INVALID_MESH_TYPE -702
80#define DVS_INVALID_CONNECTIVITY_RANGE -703
81#define DVS_TYPE_MISMATCH -704
82
83#define DVS_VERSION_MISMATCH -800
84#define DVS_VERSION_UNKNOWN -801
85
86#define DVS_QUERY_INVALID_FILTER -900
87#define DVS_QUERY_INVALID_URI -901
88
89#define DVS_QUERY_HAS_CHILDREN -903
90
91#define DVS_HASH_NOT_FOUND -8
92#define DVS_METADATA_ERROR -7
93#define DVS_CACHE_EMPTY -6
94#define DVS_CACHE_MISSING_SERVERS -5
95#define DVS_INVALID_HASH -4
96#define DVS_DATA_FAILED_LOAD -3
97#define DVS_INVALID_CACHE -2
98#define DVS_UNKNOWN -1
99#define DVS_NONE 0
100
101#define DVS_RANK_NOT_INITIALIZED 100
102#define DVS_OTHER_RANKS_NOT_INITIALIZED 101
103#define DVS_RANK_REINITIALIZING 102
104#define DVS_RANK_NOT_REINITIALIZED 103
105#define DVS_RANK_ALREADY_REINITIALIZED 104
106#define DVS_REINITIALIZE_WAITING_MERGE 105
107
108#define DVS_DELETE_BAD_QUERY 109
109
110#endif //___DVS_ERROR_CODES___
int32_t dvs_ret
Return value of methods, TODO.

Connect with Ansys