OverconstrainedError class Null safety
Secure contextThis feature is available only in secure contexts (HTTPS), in some or all supporting browsers. Experimental This is an experimental technologyCheck the Browser compatibility table carefully before using this in production. The interface of the Media Capture and Streams API indicates that the set of desired capabilities for the current MediaStreamTrack cannot currently be met. When this event is thrown on a MediaStreamTrack, it is muted until either the current constraints can be established or until satisfiable constraints are applied.
- code → int
shortthat contains one of the error code constants, or
0if none match. This field is used for historical reasons. New DOM exceptions don't use this anymore: they put this info in the DOMException.name attribute.read-only, inherited
- constraint → String
Returns the constraint that was supplied in the constructor,
meaning the constraint that was not satisfied.
- hashCode → int
The hash code for this object. [...]
- message → String
DOMStringrepresenting a message or description associated with the given error name.read-only, inherited
- name → String
DOMStringthat contains one of the strings associated with an error name.read-only, inherited
- runtimeType → Type
A representation of the runtime type of the object.