Raise Error

Click to copy

Raises an error and halts the execution of the BP. "Code" is the HTTP status code of the error, and "Message" can be used to pass the error's explanation to the user's front-end.


Flow Connections

  • [Input] In - starts the block's execution.
  • [Output] Out - activates when the block has finished its execution.

Data Connections

  • [Input] Code (integer, 400-599) - the HTTP status code of the error. Has to be in the range between 400 and 599, inclusive.
  • [Input] Message (string) - the explanation of the error that will be passed to the front-end for the user to see.