BetaTrader
A HFT Eco-System
Loading...
Searching...
No Matches
DataRunBookDefinations.h
Go to the documentation of this file.
1
9#pragma once
10
11#include "logging/Runbook.h"
12
13namespace errors {
15 "EDATA1", "Error in Async DB worker",
16 "Check the query executed, this might be an SQL or Worker error"};
17
19 "EDATA2", "Failed to create the 'TradeID' database table.",
20 "Check the underlying database connection and the SQL syntax for "
21 "the trade ID table creation query."};
22
24 "EDATA3",
25 "Failed to retrieve the current TradeID from the database.",
26 "Verify the database connection is active and the SQL query for "
27 "retrieving the TradeID is correct. This may indicate data "
28 "corruption."};
29
31 "EDATA4", "Attempt to update the TradeID in the database failed.",
32 "Confirm that the process has write permissions to the database "
33 "file/server and the update query syntax is valid."};
34
36 "EDATA5", "Failed to truncate or reset the TradeID table.",
37 "Check database permissions for TRUNCATE/DELETE operations and "
38 "verify the query execution environment."};
39
41 "EDATA6", "Failed to create the 'Trade' database table.",
42 "Check the underlying database connection and the SQL syntax for "
43 "the trade table creation query."};
44
46 "EDATA7", "Failed to add a trade in the 'Trade' database table.",
47 "Check the underlying database connection and the SQL syntax for "
48 "the trade table creation query."};
49
51 "EDATA8", "Failed to create the 'Order' database table.",
52 "Check the underlying database connection and the SQL syntax for "
53 "the order table creation query."};
54
56 "EDATA9", "Failed to save an order in the 'Order' database table.",
57 "Check the underlying database connection and the SQL syntax for "
58 "the order table creation query."};
59
61 "EDATA10", "Failed to load orders from the 'Order' database table.",
62 "Check the underlying database connection and the SQL syntax for "
63 "the order table creation query."};
64
66 "EDATA11",
67 "Failed to remove an order from the 'Order' database table.",
68 "Check the underlying database connection and the SQL syntax for "
69 "the order table creation query."};
70
72 "EDATA12",
73 "Failed to update an order in the 'Order' database table.",
74 "Check the underlying database connection and the SQL syntax for "
75 "the order table creation query."};
76} // namespace errors
Definition Runbook.h:11
This file defines all runbook error codes as objects.
Definition DataRunBookDefinations.h:13
constexpr runbook::ErrorDefinition EDATA12
Definition DataRunBookDefinations.h:71
constexpr runbook::ErrorDefinition EDATA10
Definition DataRunBookDefinations.h:60
constexpr runbook::ErrorDefinition EDATA2
Definition DataRunBookDefinations.h:18
constexpr runbook::ErrorDefinition EDATA6
Definition DataRunBookDefinations.h:40
constexpr runbook::ErrorDefinition EDATA11
Definition DataRunBookDefinations.h:65
constexpr runbook::ErrorDefinition EDATA9
Definition DataRunBookDefinations.h:55
constexpr runbook::ErrorDefinition EDATA3
Definition DataRunBookDefinations.h:23
constexpr runbook::ErrorDefinition EDATA7
Definition DataRunBookDefinations.h:45
constexpr runbook::ErrorDefinition EDATA5
Definition DataRunBookDefinations.h:35
constexpr runbook::ErrorDefinition EDATA4
Definition DataRunBookDefinations.h:30
constexpr runbook::ErrorDefinition EDATA1
Definition DataRunBookDefinations.h:14
constexpr runbook::ErrorDefinition EDATA8
Definition DataRunBookDefinations.h:50