FaktelException

Base class for all exceptions thrown by Faktel. Business outcomes (e.g. "no face found") are never exceptions.

Inheritors

Types

Link copied to clipboard
class Inference(message: String, cause: Throwable? = null) : FaktelException

The inference backend failed while running a model.

Link copied to clipboard
class InvalidImage(message: String, cause: Throwable? = null) : FaktelException

The bytes handed to an image decoder are not a supported image.

Link copied to clipboard
class ModelLoad(message: String, cause: Throwable? = null) : FaktelException

A model file could not be loaded, or does not match the shape/IO contract Faktel expects.

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?