MQEngine
载入中...
搜索中...
未找到
DataError.h
浏览该文件的文档.
1//
2// Created by Administrator on 2025/8/20.
3//
4
5#ifndef DATAERROR_H
6#define DATAERROR_H
7
8#include <stdexcept>
9#include <string>
10
11namespace MQEngine {
12
13 class ENGINE_API DataError : public std::runtime_error
14 {
15 public:
16 explicit DataError(const std::string& message)
17 : std::runtime_error(message) {}
18
19 explicit DataError(const char* message)
20 : std::runtime_error(message) {}
21
22 virtual ~DataError() = default;
23 };
24
25} // namespace MQEngine
26
27#endif //DATAERROR_H
28
#define ENGINE_API
定义 EnginePCH.h:14
DataError(const char *message)
定义 DataError.h:19
virtual ~DataError()=default
DataError(const std::string &message)
定义 DataError.h:16
定义 application.h:5