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 |
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:Exception | Original failure raised while resolving an optional view service. |
contract:type | Service contract to inspect for an explicit container binding. |
app:object or None, optional | Application supplied to runtime lookup, or None for default lookup. |
| Returns | |
None | No return value. |