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

# Interface SpeechRecognitionErrorEventInit

interface SpeechRecognitionErrorEventInit {  
    [bubbles](#bubbles)?: boolean;  
    [cancelable](#cancelable)?: boolean;  
    [composed](#composed)?: boolean;  
    [error](#error): [SpeechRecognitionErrorCode](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.SpeechRecognitionErrorCode/);  
    [message](#message)?: string;  
}

#### Hierarchy ([View Summary](https://docs.maptiler.com/sdk-js/api-reference/hierarchy/#Externals.SpeechRecognitionErrorEventInit))

-   [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/)
    -   SpeechRecognitionErrorEventInit

##### Index

### Properties[](#properties)

[bubbles?](#bubbles) [cancelable?](#cancelable) [composed?](#composed) [error](#error) [message?](#message)

## Properties[](#properties-1)

### `Optional`bubbles[](#bubbles)

bubbles?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[bubbles](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#bubbles)

### `Optional`cancelable[](#cancelable)

cancelable?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[cancelable](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#cancelable)

### `Optional`composed[](#composed)

composed?: boolean

Inherited from [EventInit](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/).[composed](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.EventInit/#composed)

### error[](#error)

error: [SpeechRecognitionErrorCode](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.SpeechRecognitionErrorCode/)

### `Optional`message[](#message)

message?: string
