l0_driver::SourceEncodingError class

Defined in module l0_driver (l0_driver.py).

Raised when a source file cannot be decoded as UTF-8.

Constructors, destructors, conversion operators

__init__(self, str|Path path, str message)
Initialize a UTF-8 decoding failure.

Public attributes

path
message

Function documentation

l0_driver::SourceEncodingError::__init__(self, str|Path path, str message)

Initialize a UTF-8 decoding failure.

Parameters
path Path to the source file that failed to decode.
message Human-readable explanation of the decoding failure.