Exception raised at the public Runtime boundary.
更多...
#include <Runtime.h>
Exception raised at the public Runtime boundary.
在文件 Runtime.h 第 53 行定义.
◆ ScriptException() [1/2]
| eve::ScriptException::ScriptException |
( |
ScriptStage |
stage, |
|
|
std::string |
source, |
|
|
uint64_t |
scriptId, |
|
|
const std::string & |
message |
|
) |
| |
◆ ScriptException() [2/2]
◆ column()
| int eve::ScriptException::column |
( |
| ) |
const |
|
inlinenoexcept |
1-based compile column; -1 when unknown.
在文件 Runtime.h 第 75 行定义.
◆ function()
| const std::string & eve::ScriptException::function |
( |
| ) |
const |
|
inlinenoexcept |
Function name at the throw site; empty when unknown.
在文件 Runtime.h 第 77 行定义.
◆ hasLocation()
| bool eve::ScriptException::hasLocation |
( |
| ) |
const |
|
inlinenoexcept |
True when the exception carries a script source line.
在文件 Runtime.h 第 71 行定义.
◆ line()
| int eve::ScriptException::line |
( |
| ) |
const |
|
inlinenoexcept |
1-based throw/compile site line; -1 when unknown.
在文件 Runtime.h 第 73 行定义.
◆ reported()
| bool eve::ScriptException::reported |
( |
| ) |
const |
|
inlinenoexcept |
True when a reporter (e.g. DevTool hook) already handled it.
在文件 Runtime.h 第 81 行定义.
◆ scriptId()
| uint64_t eve::ScriptException::scriptId |
( |
| ) |
const |
|
inlinenoexcept |
◆ source()
| const std::string & eve::ScriptException::source |
( |
| ) |
const |
|
inlinenoexcept |
◆ stackTrace()
| const std::string & eve::ScriptException::stackTrace |
( |
| ) |
const |
|
inlinenoexcept |
Multi-line call stack captured at the throw site.
在文件 Runtime.h 第 79 行定义.
◆ stage()
该类的文档由以下文件生成: