MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ScriptError

Class ScriptError

lib/base/exception.hpp:33–52  ·  view source on GitHub ↗

* @ingroup base */

Source from the content-addressed store, hash-verified

31 * @ingroup base
32 */
33class ScriptError : virtual public user_error
34{
35public:
36 ScriptError(String message);
37 ScriptError(String message, DebugInfo di, bool incompleteExpr = false);
38
39 const char* what() const noexcept override final;
40
41 DebugInfo GetDebugInfo() const;
42 bool IsIncompleteExpression() const;
43
44 bool IsHandledByDebugger() const;
45 void SetHandledByDebugger(bool handled);
46
47private:
48 String m_Message;
49 DebugInfo m_DebugInfo;
50 bool m_IncompleteExpr;
51 bool m_HandledByDebugger;
52};
53
54/*
55 * @ingroup base

Callers 15

CheckPermissionMethod · 0.85
GetFilterTargetsMethod · 0.85
SerializeObjectAttrsMethod · 0.85
OnConfigLoadedMethod · 0.85
OnAllConfigLoadedMethod · 0.85
GetActivePackageStageMethod · 0.85
CreateObjectConfigMethod · 0.85
OnAllConfigLoadedMethod · 0.85
SetCachedZoneMethod · 0.85
OnAllConfigLoadedMethod · 0.85
SendRequestMethod · 0.85
ExecuteScriptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected