@brief Construct a new type_error object with an error message and a node type. @param[in] msg An error message. @param[in] type The type of a source node value.
| 1757 | /// @param[in] msg An error message. |
| 1758 | /// @param[in] type The type of a source node value. |
| 1759 | explicit type_error(const char* msg, node_type type) noexcept |
| 1760 | : exception(generate_error_message(msg, type).c_str()) { |
| 1761 | } |
| 1762 | |
| 1763 | /// @brief Construct a new type_error object with an error message and a node type. |
| 1764 | /// @deprecated Use type_error(const char*, node_type) constructor. (since 0.3.12). |
no test coverage detected