---
title: "SpeechSynthesisErrorEventInit | 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.

# Interface SpeechSynthesisErrorEventInit

interface SpeechSynthesisErrorEventInit {  
    [bubbles](#bubbles)?: boolean;  
    [cancelable](#cancelable)?: boolean;  
    [charIndex](#charindex)?: number;  
    [charLength](#charlength)?: number;  
    [composed](#composed)?: boolean;  
    [elapsedTime](#elapsedtime)?: number;  
    [error](#error): [SpeechSynthesisErrorCode](https://docs.maptiler.com/sdk-js/api-reference/types/Externals.SpeechSynthesisErrorCode/);  
    [name](#name)?: string;  
    [utterance](#utterance): [SpeechSynthesisUtterance](https://docs.maptiler.com/sdk-js/api-reference/interfaces/Externals.SpeechSynthesisUtterance/);  
}

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

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

##### Index

### Properties[](#properties)

[bubbles?](#bubbles) [cancelable?](#cancelable) [charIndex?](#charindex) [charLength?](#charlength) [composed?](#composed) [elapsedTime?](#elapsedtime) [error](#error) [name?](#name) [utterance](#utterance)

## Properties[](#properties-1)

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

bubbles?: boolean

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

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

cancelable?: boolean

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

### `Optional`charIndex[](#charindex)

charIndex?: number

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

### `Optional`charLength[](#charlength)

charLength?: number

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

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

composed?: boolean

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

### `Optional`elapsedTime[](#elapsedtime)

elapsedTime?: number

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

### error[](#error)

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

### `Optional`name[](#name)

name?: string

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

### utterance[](#utterance)

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

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