':type message: str
:type path: str
:type line: int
:type column: int
:type level: str
:type code: str | None
:type confidence: int | None'

def __init__(self, message, path, line=0, column=0, level='error', code=None, confidence=None):

    self.path = path
    self.line = line
    self.column = column
    self.level = level
    self.code = code
    self.message = message
    self.confidence = confidence
