Skip to main content

Post-processing tools 2024 R2

dynamic_visualization_store_error_codes

Last update: 16.07.2025
Go to the documentation of this file.
1/* *************************************************************
2 * Copyright 2017-2024 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_QUERY_FAILED -310
70#define DVS_SERVER_TERMINATING 300
71
72#define DVS_CLIENT_INVALID_TRANSPORT -400
73
74#define DVS_DATASET_NAME_EMPTY -500
75
76#define DVS_NO_DATA -502
77
78#define DVS_METADATA_NO_HASH_OFFSET_TABLE -600
79#define DVS_METADATA_HASH_OFFSET_TABLE_BACKCOMPAT -601
80
81#define DVS_INVALID_STRUCTURED_DATA -700
82#define DVS_INVALID_ELEMENT_TYPE -701
83#define DVS_INVALID_MESH_TYPE -702
84#define DVS_INVALID_CONNECTIVITY_RANGE -703
85#define DVS_TYPE_MISMATCH -704
86
87#define DVS_VERSION_MISMATCH -800
88#define DVS_VERSION_UNKNOWN -801
89
90#define DVS_QUERY_INVALID_FILTER -900
91#define DVS_QUERY_INVALID_URI -901
92
93#define DVS_QUERY_HAS_CHILDREN -903
94
95#define DVS_HASH_NOT_FOUND -8
96#define DVS_METADATA_ERROR -7
97#define DVS_CACHE_EMPTY -6
98#define DVS_CACHE_MISSING_SERVERS -5
99#define DVS_INVALID_HASH -4
100#define DVS_DATA_FAILED_LOAD -3
101#define DVS_INVALID_CACHE -2
102#define DVS_UNKNOWN -1
103#define DVS_NONE 0
104
105#define DVS_RANK_NOT_INITIALIZED 100
106#define DVS_OTHER_RANKS_NOT_INITIALIZED 101
107#define DVS_RANK_REINITIALIZING 102
108#define DVS_RANK_NOT_REINITIALIZED 103
109#define DVS_RANK_ALREADY_REINITIALIZED 104
110#define DVS_REINITIALIZE_WAITING_MERGE 105
111
112#define DVS_DELETE_BAD_QUERY 109
113
114#endif //___DVS_ERROR_CODES___
int32_t dvs_ret
Return value of methods, TODO.

Connect with Ansys