Home > Function Reference > Error Handling > Return Error Throw an error and end the Flow. Input Fields statusCode: a status code that indicates the type of error thrown message: the content of the error message Output Fields No output fields.