Skip to content

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 ​

NameTypeRequiredDescription
messagestringyesThe description of the mistake and how to fix it.

Returns ​

void

Source ​

client/lib/utils/dev.js:29