sisl.io.SileError

exception sisl.io.SileError(value, obj=None)

Bases: SislError, OSError

Define an error object related to the Sile objects

__init__(value, obj=None)[source]
add_note()

Exception.add_note(note) – add a note to the exception

args
characters_written
errno

POSIX exception code

filename

exception filename

filename2

second exception filename

strerror

exception strerror

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.