---
title: "captureRejections | 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 captureRejections

captureRejections: boolean

Change the default `captureRejections` option on all new `EventEmitter` objects.

#### Since[](#since)

v13.4.0, v12.16.0
