SmartLockerTools/OtaUpdate/ErrorCode.cpp

5 lines
138 B
C++
Raw Permalink Normal View History

2024-05-17 10:36:23 +08:00
#include "ErrorCode.h"
std::error_code makeErrorCode(ErrorCode code){
return {static_cast<int>(code), ErrorCategory::instance()};
}