Wrapper of Il2CppException.
More...
#include <Exceptions.hpp>
|
|
constexpr | Exception ()=default |
| | Create empty exception.
|
| |
| constexpr | Exception (BNM::IL2CPP::Il2CppException *exception) |
| | Create exception from il2cpp exception.
|
| |
| std::string | ClassName () const |
| | Get class name of exception.
|
| |
| std::string | Message () const |
| | Get message of exception.
|
| |
| IL2CPP::Il2CppObject * | Data () const |
| | Get data of exception.
|
| |
| IL2CPP::Il2CppException * | GetException () const |
| | Get Il2CppException.
|
| |
| bool | IsValid () const |
| | Check if exception is valid.
|
| |
|
|
BNM::IL2CPP::Il2CppException * | _data {} |
| |
Wrapper of Il2CppException.
◆ Exception()
| BNM::Exception::Exception |
( |
BNM::IL2CPP::Il2CppException * | exception | ) |
|
|
inlineconstexpr |
Create exception from il2cpp exception.
- Parameters
-
| exception | Il2cpp exception |
◆ ClassName()
| std::string BNM::Exception::ClassName |
( |
| ) |
const |
|
inlinenodiscard |
Get class name of exception.
- Returns
- Class name of exception
◆ Data()
| IL2CPP::Il2CppObject * BNM::Exception::Data |
( |
| ) |
const |
|
inlinenodiscard |
Get data of exception.
- Returns
- Data of exception
◆ GetException()
| IL2CPP::Il2CppException * BNM::Exception::GetException |
( |
| ) |
const |
|
inlinenodiscard |
Get Il2CppException.
- Returns
- Il2CppException
◆ IsValid()
| bool BNM::Exception::IsValid |
( |
| ) |
const |
|
inlinenodiscard |
Check if exception is valid.
- Returns
- State of exception
◆ Message()
| std::string BNM::Exception::Message |
( |
| ) |
const |
|
inlinenodiscard |
Get message of exception.
- Returns
- Message of exception