Skip to main content

Post-processing tools 2023 R2

dynamic_visualization_store_error_codes.h File Reference

Last update: 17.04.2023

Contains errors used in the DVS C/C++ API. More...

#include <stdint.h>

Go to the source code of this file.

Macros

#define DVS_PARAM_NULL   -100
 Param passed into method was NULL when it should not be.
 
#define DVS_PARAM_INVALID_SIZE   -101
 Param passed in was of invalid size.
 
#define DVS_PARAM_OUT_OF_BOUNDS   -102
 A parameter index was out of bounds.
 
#define DVS_INVALID_ID   -103
 Invalid ID passed in.
 
#define DVS_PARAM_INVALID_VAR   -104
 Invalid variable passed in.
 
#define DVS_PARAM_INVALID_VAR_LOC   -105
 Invalid variable location passed in.
 
#define DVS_PARAM_INVALID_OBJECT   -106
 Invalid object passed in.
 
#define DVS_PARAM_INVALID_OBJECT_TYPE   -107
 Invalid object type passed in.
 
#define DVS_PARAM_INVALID_TIME   -108
 Invalid time passed in.
 
#define DVS_PARAM_OBJECT_DATASET_MISMATCH   -109
 Objects passed in belong to different datasets.
 
#define DVS_INVALID_NAME   -111
 Invalid part name.
 
#define DVS_TRANSPORT_NULL_INVALID_SERVER   -150
 Internal error, server failed to be instantiated.
 
#define DVS_TRANSPORT_SERVICE_UNAVAILABLE   -151
 Service is unavailable. Potentially increase number of retries and backoff timer.
 
#define DVS_TRANSPORT_SERVICE_FAILURE   -152
 Unrecoverable error, turn on verbose logging to get more information, might be fine depending on use.
 
#define DVS_ID_INVALID   -200
 Server or client ID is not valid.
 
#define DVS_ID_INVALID_TYPE   -201
 Client ID used for Server ID or Server ID used for Client ID.
 
#define DVS_ID_NO_VALID_SERVER   -202
 Server ID is not valid or server instance no longer valid.
 
#define DVS_ID_NO_VALID_SESSION   -203
 Session ID for client is not valid or client instance no longer valid.
 
#define DVS_ID_OUT_OF_IDS   -204
 Maximum number of clients 1,048,575 reached.
 
#define DVS_SERVER_START_FAILED   -300
 Internal error, server failed to start.
 
#define DVS_SERVER_ALREADY_STARTED   -301
 Server was already previously started.
 
#define DVS_SERVER_NOT_STARTED   -302
 DVS server terminating.
 
#define DVS_SERVER_FAILED_INIT   -303
 DVS server failed to initialize.
 
#define DVS_SERVER_FAILED_SYNC_RANKS   -304
 DVS server failed syncing ranks, servers disagree on number of ranks.
 
#define DVS_SERVER_FAILED_DEFINITIONS_MERGE   -305
 Merging definitions across server failed, definitions across servers do not match up.
 
#define DVS_SERVER_FAILED_TIMELINE_SYNC   -306
 Syncing timelines between servers failed.
 
#define DVS_SERVER_FAILED_READER_CREATE   -307
 Internal error for fatal error.
 
#define DVS_SERVER_WAIT_TIMEOUT   -308
 Timeout occured, increase wait time if unintended.
 
#define DVS_SERVER_TERMINATING   300
 DVS server terminating.
 
#define DVS_CLIENT_INVALID_TRANSPORT   -400
 Internal error, tranport layer failed to instantiate.
 
#define DVS_DATASET_NAME_EMPTY   -500
 Dataset name passed in is empty.
 
#define DVS_NO_DATA   -502
 This object has no data.
 
#define DVS_INVALID_STRUCTURED_DATA   -700
 Internal error, structured data structure is invalid.
 
#define DVS_INVALID_ELEMENT_TYPE   -701
 The element type is invalid for this method.
 
#define DVS_INVALID_MESH_TYPE   -702
 Invalid mesh type for this method.
 
#define DVS_INVALID_CONNECTIVITY_RANGE   -703
 Connectivity index higher than number of nodes (should be zero based)
 
#define DVS_VERSION_MISMATCH   -800
 Invalid version, please update client and server to match.
 
#define DVS_VERSION_UNKNOWN   -801
 Unknown version, please update client and server to match.
 
#define DVS_QUERY_INVALID_FILTER   -900
 Filter is incorrectly formed.
 
#define DVS_QUERY_INVALID_URI   -901
 URI is incorrectly formed.
 
#define DVS_QUERY_HAS_CHILDREN   -903
 A query cannot be modified if it still has child chained queries.
 
#define DVS_HASH_NOT_FOUND   -8
 Hash not found in cache when it should be, data invalid.
 
#define DVS_METADATA_ERROR   -7
 Error loading metadata.
 
#define DVS_CACHE_EMPTY   -6
 No server folders in cache.
 
#define DVS_CACHE_MISSING_SERVERS   -5
 Gaps in number of servers, data corrupt?
 
#define DVS_INVALID_HASH   -4
 Object hash is invalid, should not happen.
 
#define DVS_DATA_FAILED_LOAD   -3
 Data failed to load from the cache, potentially doesn't exist.
 
#define DVS_INVALID_CACHE   -2
 There was an error creating/accessing the cache, might not exist or not readable (bad permissions?)
 
#define DVS_UNKNOWN   -1
 Unknown error, notify developers.
 
#define DVS_NONE   0
 No detected error has occurred.
 
#define DVS_RANK_NOT_INITIALIZED   100
 Begin update or delete item called on unintialized rank, call begin/end init sequence.
 
#define DVS_OTHER_RANKS_NOT_INITIALIZED   101
 Other ranks on server have not yet called begin/end init sequence.
 
#define DVS_RANK_REINITIALIZING   102
 Waiting for reinitializing to occur, other ranks may not have called it yet.
 
#define DVS_RANK_NOT_REINITIALIZED   103
 Other ranks have started reinitializing but this one did not, call begin/end init sequence.
 
#define DVS_RANK_ALREADY_REINITIALIZED   104
 Begin init already called but server has not finished reinitializing yet.
 
#define DVS_REINITIALIZE_WAITING_MERGE   105
 Waiting on merge of definitions to occur.
 
#define DVS_DELETE_BAD_QUERY   109
 A bad filter has been given to the delete_item call.
 

Typedefs

typedef int32_t dvs_ret
 Return value of methods, TODO.
 

Detailed Description

Contains errors used in the DVS C/C++ API.

Definition in file dynamic_visualization_store_error_codes.h.