Signaling invocation error from shortcode

Is there way for shortcode to signal error if called with incorrect parameters?

You can use errorf (fails build) or warnf (prints WARNING).

1 Like

See example here:

2 Likes