---
title: "RTCErrorEvent | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Variable RTCErrorEvent

RTCErrorEvent: {  
    prototype: [RTCErrorEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEvent/);  
    new (type: string, eventInitDict: [RTCErrorEventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEventInit/)): [RTCErrorEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEvent/);  
}

#### Type Declaration

-   -   new (type: string, eventInitDict: [RTCErrorEventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEventInit/)): [RTCErrorEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEvent/)
    -   #### Parameters
        
        -   type: string
        -   eventInitDict: [RTCErrorEventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEventInit/)
        
        #### Returns [RTCErrorEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEvent/)
        
-   ##### prototype: [RTCErrorEvent](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.RTCErrorEvent/)
