Skip to main content

IInterpreterExceptionMethods

Trait IInterpreterExceptionMethods 

Source
pub trait IInterpreterExceptionMethods: IInterpreterException {
    // Provided methods
    fn ctor(self, message: impl Into<Il2CppString>) { ... }
    fn ctor_2(
        self,
        format: impl Into<Il2CppString>,
        args: impl Into<Array<Object>>,
    ) { ... }
    fn get_instruction_ptr(self) -> i32 { ... }
    fn set_instruction_ptr(self, value: impl Into<i32>) { ... }
    fn get_call_stack(self) -> IList_1_Interface<WatchItem> { ... }
    fn set_call_stack(self, value: impl Into<IList_1_Interface<WatchItem>>) { ... }
    fn get_decorated_message(self) -> Il2CppString { ... }
    fn set_decorated_message(self, value: impl Into<Il2CppString>) { ... }
    fn get_do_not_decorate_message(self) -> bool { ... }
    fn set_do_not_decorate_message(self, value: impl Into<bool>) { ... }
    fn decorate_message(
        self,
        script: impl Into<Script>,
        sref: impl Into<SourceRef>,
        ip: impl Into<i32>,
    ) { ... }
    fn rethrow(self) { ... }
}

Provided Methods§

Source

fn ctor(self, message: impl Into<Il2CppString>)

.ctor(::unity::Il2CppString) overload

Source

fn ctor_2(self, format: impl Into<Il2CppString>, args: impl Into<Array<Object>>)

.ctor(::unity::Il2CppString, ::unity::Array<crate::system::object::Object>) overload

Source

fn get_instruction_ptr(self) -> i32

get_InstructionPtr() overload

Source

fn set_instruction_ptr(self, value: impl Into<i32>)

set_InstructionPtr(i32) overload

Source

fn get_call_stack(self) -> IList_1_Interface<WatchItem>

get_CallStack() overload

Source

fn set_call_stack(self, value: impl Into<IList_1_Interface<WatchItem>>)

set_CallStack(crate::system::collections::generic::ilist_1_interface::IList_1_Interface<crate::moon_sharp::interpreter::debugging::watchitem::WatchItem>) overload

Source

fn get_decorated_message(self) -> Il2CppString

get_DecoratedMessage() overload

Source

fn set_decorated_message(self, value: impl Into<Il2CppString>)

set_DecoratedMessage(::unity::Il2CppString) overload

Source

fn get_do_not_decorate_message(self) -> bool

get_DoNotDecorateMessage() overload

Source

fn set_do_not_decorate_message(self, value: impl Into<bool>)

set_DoNotDecorateMessage(bool) overload

Source

fn decorate_message( self, script: impl Into<Script>, sref: impl Into<SourceRef>, ip: impl Into<i32>, )

DecorateMessage(crate::moon_sharp::interpreter::script::Script, crate::moon_sharp::interpreter::debugging::sourceref::SourceRef, i32) overload

Source

fn rethrow(self)

Rethrow() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IInterpreterException> IInterpreterExceptionMethods for __T

Available on crate feature moon_sharp-interpreter-interpreterexception only.