URIError

Term side of the Card
Topic: Errors
Unit title: URIError
Categories: Object
Explanation side of the Card

Explanation: The object that represents an error when there is a problem with encoding or decoding a URI. This can occur with functions that handle URIs or URI components, such as `decodeURI()`, `encodeURI()`, `decodeURIComponent()` or `encodeURIComponent()`, when provided with invalid input. It's used to manage issues related to improper URI handling.

Browser compatibility:
  • The chrome browser supports this feature starting from version 1
  • The edge browser supports this feature starting from version 12
  • The firefox browser supports this feature starting from version 1
  • The safari browser supports this feature starting from version 1
Availability: