from enum import Enum


class ExitStatus(Enum):
    SUCCESS = 0
    FAILURE = 1


def reportStatusAndExit(errorCount, checkPrefix):
    exitStatus = ExitStatus.SUCCESS
    if errorCount > 0:
        exitStatus = ExitStatus.FAILURE
    print(f'{checkPrefix} {exitStatus.name}\n')
    exit(exitStatus.value)

47efe60073d3773351dfc014db15705407daedf0
<mask token>


class ExitStatus(Enum):
    <mask token>
    <mask token>


<mask token>

<mask token>


class ExitStatus(Enum):
    SUCCESS = 0
    FAILURE = 1


<mask token>

<mask token>


class ExitStatus(Enum):
    SUCCESS = 0
    FAILURE = 1


def reportStatusAndExit(errorCount, checkPrefix):
    exitStatus = ExitStatus.SUCCESS
    if errorCount > 0:
        exitStatus = ExitStatus.FAILURE
    print(f'{checkPrefix} {exitStatus.name}\n')
    exit(exitStatus.value)

from enum import Enum


class ExitStatus(Enum):
    SUCCESS = 0
    FAILURE = 1


def reportStatusAndExit(errorCount, checkPrefix):
    exitStatus = ExitStatus.SUCCESS
    if errorCount > 0:
        exitStatus = ExitStatus.FAILURE
    print(f'{checkPrefix} {exitStatus.name}\n')
    exit(exitStatus.value)
