Home > rc-js-util > _Production > error
Warning: This API is now obsolete.
Throws an
Errorwith the given message. If_BUILD.DEBUGis true and_BUILD.DISABLE_BREAKPOINT_FLAGis false or unset then a breakpoint will be hit first. Should not be used for “expected” errors (bad input etc).
Signature:
static error(message: string): never;
| Parameter | Type | Description |
|---|---|---|
| message | string |
Returns:
never