Skip to content

InscoperException

Bases: Exception

InscoperException class is the custom exception class.

This class provides a mechanism to report exceptions.

__init__(msg)

Constructor with a specific exception message.

Parameters:

Name Type Description Default
msg string

The exception message

required

what()

Get the message of the exception.

Retrieves the message associated with the exception.

Returns:

Type Description
str

The exception message