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 |
|---|---|---|---|
| message | string | yes | The description of the mistake and how to fix it. |
Returns
void
Source
client/lib/utils/dev.js:29