Skip to content
Developer Preview

ApprovalFailure

Why one approval round trip did not complete.

Type alias in muse_code

REPORTED, not raised: the trip is driven from a notification, so an exception would escape into the consumer’s pump with nothing to catch it — the same hazard Session.apply already refuses a malformed frame for. Each kind names whose repair it is (the consumer’s handler; the consumer’s choice, for unofferedChoice and feedbackNotAccepted; the host), because the repair differs.

ApprovalFailure = Union[UnofferedChoice, FeedbackNotAccepted, HandlerRaised, SubmitFailed]

Source

clients/sdk-py/src/muse_code/facade/approval.py:151