From 2f3684e25157beade2d4cbe77b0393c257e92b24 Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Sat, 25 Jun 2022 00:35:44 +0300 Subject: [PATCH] Update sqratMemberMethods.h --- module/Sqrat/sqratMemberMethods.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module/Sqrat/sqratMemberMethods.h b/module/Sqrat/sqratMemberMethods.h index fe85e1da..617bfd40 100644 --- a/module/Sqrat/sqratMemberMethods.h +++ b/module/Sqrat/sqratMemberMethods.h @@ -157,7 +157,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE }; @@ -178,7 +178,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE }; @@ -206,7 +206,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE }; @@ -227,7 +227,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE }; @@ -256,7 +256,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE }; @@ -277,7 +277,7 @@ template struct SqMember { } catch (const std::exception& e) { return sq_throwerror(vm, e.what()); } catch (...) { - return sq_throwerror(vm, _SC("unknown exception occured")); + return sq_throwerror(vm, _SC("unknown exception occurred")); } SQ_UNREACHABLE };