22 lines
490 B
C++
22 lines
490 B
C++
// 版权所有 (c) ling 保留所有权利。
|
||
// 除非另行说明,否则仅允许在parameter中使用此文件中的代码。
|
||
//
|
||
// 由 ling 创建于 24-2-7.
|
||
//
|
||
|
||
#ifndef OPTIONSEXCEPTION_H
|
||
#define OPTIONSEXCEPTION_H
|
||
#include <stdexcept>
|
||
|
||
|
||
namespace ling {
|
||
class OptionsException : public std::runtime_error {
|
||
public:
|
||
explicit OptionsException(const std::string &err);
|
||
|
||
explicit OptionsException(const char *err);
|
||
};
|
||
} // ling
|
||
|
||
#endif //OPTIONSEXCEPTION_H
|