DescriptionAdding error enum to be used by PeerConnectionInterface methods.
The enum is at about the same level of detail as DOMExceptions, and I
looked through the spec making sure that chromium will be able to perform
the DOMException mapping for each one.
The new enum is called RtcError and is outside the PeerConnectionInterface
scope, because we may want to use this for things not associated with a
PeerConnection in the future.
This CL doesn't yet use the error enum anywhere; that will probably happen
in follow-up CLs for the individual methods.
BUG=webrtc:6855
Committed: https://crrev.com/3edec7cf1b342e8b76fbf14ba25351f7338c0d42
Cr-Commit-Position: refs/heads/master@{#15526}
Patch Set 1 #
Total comments: 7
Patch Set 2 : Adding "NO_ERROR" and ostream operator. #Patch Set 3 : Renaming "NO_ERROR" to "NONE" since the former is reserved on Windows... #Patch Set 4 : . #
Messages
Total messages: 23 (11 generated)
|