public VivoxApiException(int statusCode, string requestId) : base( $"{VivoxCoreInstance.vx_get_error_string(statusCode)} ({statusCode})") { StatusCode = statusCode; RequestId = requestId; }
public static string GetErrorString(int statusCode) { if (statusCode <= (int)vx_tts_status.tts_error_invalid_engine_type) { return(VivoxCoreInstance.vx_get_tts_status_string((vx_tts_status)statusCode)); } else { return(VivoxCoreInstance.vx_get_error_string(statusCode)); } }
public static string GetErrorString(int statusCode) { return(VivoxCoreInstance.vx_get_error_string(statusCode)); }
public VivoxApiException(int statusCode, Exception inner) : base(VivoxCoreInstance.vx_get_error_string(statusCode), inner) { }