Home > rc-js-util > _Production > error
Warning: This API is now obsolete.
Throws an
Error
with the given message. If_BUILD.DEBUG
is true and_BUILD.DISABLE_BREAKPOINT_FLAG
is 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