This commit is contained in:
2025-07-14 22:24:27 +08:00
parent daacc18ecf
commit 4af19ef574
7722 changed files with 72086 additions and 0 deletions

View File

@ -0,0 +1,26 @@
// Copyright 2023 Dexter.Wan. All Rights Reserved.
// EMail: 45141961@qq.com
#include "throw_.h"
#include "exception.h"
#include "types.h"
void throw_::badcast()
{
throw bad_cast();
}
void throw_::exception(int rc)
{
throw mqtt::exception(rc);
}
void throw_::exception(int rc, const char* msg)
{
throw mqtt::exception(rc, msg);
}
void throw_::exception(int rc, int reasonCode, const char* msg)
{
throw mqtt::exception(rc, (mqtt::ReasonCode)reasonCode, msg);
}