|
Console Library 8.0.0
A header-only library that makes C++ simple
|
表示类型错误,例如访问 Maybe 中不存在的值或 Box 中类型不匹配。 More...
#include <csexc.h>
Public Member Functions | |
| TypeError (const std::string &msg) | |
| 构造 TypeError。 | |
| Public Member Functions inherited from console::ConsoleError | |
| ConsoleError (const std::string &msg) | |
| 构造 ConsoleError。 | |
表示类型错误,例如访问 Maybe 中不存在的值或 Box 中类型不匹配。
|
inline |
构造 TypeError。
| msg | 错误描述信息。 |