4#include <unordered_map>
14 typedef std::unordered_map<nidx, std::string> msgMap;
20 template <
typename T, n
bool>
friend struct tmarshaling;
23 nerr(errLv::level t, nint newCode);
24 nerr(errLv::level t, nint newCode, va_list
args);
25 nerr(errLv::level t,
const point& ps, nint newCode, va_list
args);
33 nbool operator==(
const super& rhs)
const override;
36 const baseObj& getOrigin()
const override;
38 void log()
const override;
40 const std::string& getMsg()
const override;
41 errCode getErrCode()
const;
42 const point& getPos()
const;
44 static const nerr& singleton();
45 static const std::string& getErrMsg(errCode code);
46 static const std::string& getErrName(errCode code);
47 static nerr* newErr(
int code, ...);
48 static nerr* newErr(
int code, va_list
args);
51 static nerr* newWarn(
int code, ...);
52 static nerr* newWarn(
int code, va_list
args);
55 static nerr* newInfo(
int code, ...);
56 static nerr* newInfo(
int code, va_list
args);
61 void _logNativeStack()
const;
76 void log()
const override;
77 const std::string& getMsg()
const override;
Function call arguments container.
Definition: args.hpp:13
Base class for all error types.
Definition: baseErr.hpp:12
Base class for all objects in byeol language.
Definition: baseObj.hpp:24
Source location information.
Definition: src.hpp:11
void logStack() const override
Log error with stack trace.
void log() const override
Log error message.
nerr()
@hidden this's only available to marsharling.
Source code position tracking structure.
Definition: point.hpp:11
Template marshaling interface for C++ bridge.
Definition: tmarshaling.hpp:18