1 /*! 2 * \brief Ranges for error codes of each submodules. 3 * 4 * \since 5 * v.1.0.2 6 */ 7 #pragma once 8 9 namespace so_5 { 10 11 namespace extra { 12 13 namespace errors { 14 15 //! Starting point for errors of shutdowner submodule. 16 const int shutdowner_errors = 20000; 17 18 //! Starting point for errors of collecting_mbox submodule. 19 const int collecting_mbox_errors = 20100; 20 21 //! Starting point for errors of asio_thread_pool submodule. 22 const int asio_thread_pool_errors = 20200; 23 24 //! Starting point for errors of retained_msg_mbox submodule. 25 /*! 26 * \since 27 * v.1.0.3 28 */ 29 const int retained_msg_mbox_errors = 20300; 30 31 //! Starting point for errors of async_op submodule. 32 /*! 33 * \since 34 * v.1.0.4 35 */ 36 const int async_op_errors = 20400; 37 38 //! Starting point for errors of mboxes::proxy submodule. 39 /*! 40 * \since 41 * v.1.2.0 42 */ 43 const int mboxes_proxy_errors = 20500; 44 45 //! Starting point for errors of revocable_timer submodule. 46 /*! 47 * \since 48 * v.1.2.0 49 */ 50 const int revocable_timer_errors = 20600; 51 52 //! Starting point for errors of enveloped_msg submodule. 53 /*! 54 * \since 55 * v.1.2.0 56 */ 57 const int enveloped_msg_errors = 20700; 58 59 //! Starting point for errors of revocable_msg submodule. 60 /*! 61 * \since 62 * v.1.2.0 63 */ 64 const int revocable_msg_errors = 20800; 65 66 //! Starting point for errors of sync submodule. 67 /*! 68 * \since 69 * v.1.3.0 70 */ 71 const int sync_errors = 20900; 72 73 //! Starting point for errors of asio_one_thread submodule. 74 /*! 75 * \since 76 * v.1.4.1 77 */ 78 const int asio_one_thread_errors = 21000; 79 80 } /* namespace errors */ 81 82 } /* namespace extra */ 83 84 } /* namespace so_5 */ 85 86