The error: command unsuccessfully terminates an automation in the error state and returns a message.

Syntax

start:
  error: An unexpected error occurred!

The error message is returned to the caller.