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

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

# Interface GPUDeviceLostInfo

The **`GPUDeviceLostInfo`** interface of the WebGPU API represents the object returned when the GPUDevice.lost Promise resolves. This provides information as to why a device has been lost. Available only in secure contexts.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo)

interface GPUDeviceLostInfo {  
    [message](#message): string;  
    [reason](#reason): [GPUDeviceLostReason](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUDeviceLostReason/);  
}

##### Index

### Properties[](#properties)

[message](#message) [reason](#reason)

## Properties[](#properties-1)

### `Readonly`message[](#message)

message: string

The **`message`** read-only property of the GPUDeviceLostInfo interface provides a human-readable message that explains why the device was lost.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/message)

### `Readonly`reason[](#reason)

reason: [GPUDeviceLostReason](https://docs-qmgv.pages.dev/sdk-js/api-reference/types/Externals.GPUDeviceLostReason/)

The **`reason`** read-only property of the GPUDeviceLostInfo interface defines the reason the device was lost in a machine-readable way.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/GPUDeviceLostInfo/reason)
