ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Observe broken optional view services without reporting missing scopes.

Async Function capture_service_failure Observe a view-service failure when its binding exists or cannot be checked.
async def capture_service_failure(error: Exception, contract: type, *, app: object | None = None): (source)

Observe a view-service failure when its binding exists or cannot be checked.

Ignore missing runtimes and unbound contracts. If binding inspection fails, observe its exception before the original service failure.

Parameters
error:ExceptionOriginal failure raised while resolving an optional view service.
contract:typeService contract to inspect for an explicit container binding.
app:object or None, optionalApplication supplied to runtime lookup, or None for default lookup.
Returns
NoneNo return value.