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

# Variable GPUUncapturedErrorEvent

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

#### Type Declaration

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