mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update sqratMemberMethods.h
This commit is contained in:
parent
7afc05e52b
commit
2f3684e251
@ -157,7 +157,7 @@ template <class C,class R> struct SqMember {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
@ -178,7 +178,7 @@ template <class C,class R> struct SqMember {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
@ -206,7 +206,7 @@ template <class C, class R> struct SqMember<C,R&> {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
@ -227,7 +227,7 @@ template <class C, class R> struct SqMember<C,R&> {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
@ -256,7 +256,7 @@ template <class C> struct SqMember<C, void> {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
@ -277,7 +277,7 @@ template <class C> struct SqMember<C, void> {
|
|||||||
} catch (const std::exception& e) {
|
} catch (const std::exception& e) {
|
||||||
return sq_throwerror(vm, e.what());
|
return sq_throwerror(vm, e.what());
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
return sq_throwerror(vm, _SC("unknown exception occured"));
|
return sq_throwerror(vm, _SC("unknown exception occurred"));
|
||||||
}
|
}
|
||||||
SQ_UNREACHABLE
|
SQ_UNREACHABLE
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user