CException

class ikomia.utils.pyutils.CException

Base class for all Ikomia exceptions.

Import

from ikomia.utils import CException

Methods

__init__(arg1)

Default constructor

message(self)

Get formatted exception message.

Details

__init__((object)arg1) None :

Default constructor

__init__( (object)arg1, (int)arg2, (str)arg3, (str)arg4, (str)arg5, (int)arg6) -> None :

Constructor with parameters

arg1 (int): Exception code

arg2 (str): Exception message

arg3 (str): Function from where exception is thrown

arg4 (str): File from where exception is thrown

arg5 (int): Line in source file from where exception is thrown

message((CException)self) str :

Get formatted exception message.

Returns

Exception message

Return type

str