PrintErrorEntry

Prints an error entry with a given message.

python · Common Scripts

Source

import demistomock as demisto  # noqa: F401
from CommonServerPython import *  # noqa: F401


def main():
    return_results({"Type": EntryType.ERROR, "ContentsFormat": EntryFormat.TEXT, "Contents": demisto.getArg("message")})


if __name__ in ["__builtin__", "builtins"]:
    main()

README

Prints an error entry with a given message.

Script Data


Name Description
Script Type python
Tags -
Cortex XSOAR Version 4.0.0+

Inputs


Argument Name Description
message The error message to be printed.

Outputs


There are no outputs for this script.