S or /

SourceEnum LoadError

from egui import LoadError
class LoadError:

Represents a failed attempt at loading an image.

Properties§

@property def kind(self, /) -> str§

Methods§

@staticmethod def FormatNotSupported(detected_format: str |None) -> LoadError§
@staticmethod def Loading(message: str) -> LoadError§
@staticmethod def NoImageLoaders() -> LoadError§
@staticmethod def NoMatchingBytesLoader() -> LoadError§
@staticmethod def NoMatchingImageLoader(detected_format: str |None) -> LoadError§
@staticmethod def NoMatchingTextureLoader() -> LoadError§
@staticmethod def NotSupported() -> LoadError§
Sourcedef byte_size(self, /) -> int§

Returns the (approximate) size of the error message in bytes.

def detected_format(self, /) -> str |None§
def message(self, /) -> str§