diff --git a/src/Error.cpp b/src/Error.cpp index aac6d1f..54fb399 100644 --- a/src/Error.cpp +++ b/src/Error.cpp @@ -195,6 +195,10 @@ const std::vector ts::avariableErrors = { {0xE000, "resource_limit_reached" , "resource limit reached" }, + define_error_description(broadcast_invalid_id, "the broadcast does not exists"), + define_error_description(broadcast_invalid_type, "the broadcast type is invalid"), + define_error_description(broadcast_invalid_client, "the broadcasting client does not exists"), + {0xFFFF, "custom_error" , "costume" }, }; ErrorType ErrorType::Success = avariableErrors[0]; diff --git a/src/Error.h b/src/Error.h index 05919ec..49c378c 100644 --- a/src/Error.h +++ b/src/Error.h @@ -198,6 +198,10 @@ namespace ts { rtc_missing_target_channel = 0x2300, + broadcast_invalid_id = 0x2400, + broadcast_invalid_type = 0x2401, + broadcast_invalid_client = 0x2402, + custom_error = 0xffff }; };