#include "third_party/blink/renderer/modules/peerconnection/rtc_error_util.h"
#include "third_party/blink/renderer/bindings/core/v8/script_promise_resolver.h"
#include "third_party/blink/renderer/core/dom/dom_exception.h"
#include "third_party/blink/renderer/modules/peerconnection/rtc_error.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
namespace blink {
DOMExceptionCode RTCErrorToDOMExceptionCode(const webrtc::RTCError& error) { … }
DOMException* CreateDOMExceptionFromRTCError(const webrtc::RTCError& error) { … }
void RejectPromiseFromRTCError(const webrtc::RTCError& error,
ScriptPromiseResolverBase* resolver) { … }
void ThrowExceptionFromRTCError(const webrtc::RTCError& error,
ExceptionState& exception_state) { … }
}