---
url: "https://vueda.dev/v3/reference/api/js/utils/dev/functions/reportDevError.md"
title: "reportDevError"
---

# reportDevError

## Overview

Report a mistake that a developer must fix. Throws in development, so the mistake cannot go unnoticed.
Logs a console warning in production, so a deployed page keeps rendering.

## Signature

`reportDevError(message)`

### Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| <span id="param-message">message</span> | `string` | yes | The description of the mistake and how to fix it. |

### Returns

`void`

## Source

`client/lib/utils/dev.js:29`
