-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hyperion supervisor will during the course of running experiment plans raise a variety of exceptions, depending on their nature the supervisor will need to behave differently:
- Sample-related errors will require data collection to continue and the sample to be skipped.
- Beamline-related errors and other exceptions of an unexpected nature will require an alert to be raised to beamline staff and the supervisor process halts data collection.
Currently BlueskyStreamingError appears to be raised in the event of an exception but it's not clear whether this is just a general error relating to remoting, and it doesn't seem to carry any other information other than the exception message.
Acceptance Criteria
I think it would be sufficient if the solution provides the following:
- Unambiguously indicates that the failure is due to an exception raised in the plan on the remote side.
- Contains the exception message.
- Identifies the type of the exception.
- Bonus points if there is a nice way we can express this somehow so that it appears in the api schema for the plan and that declared exception type hierarchy can be expressed, but this is a nice-to-have, and arguably not needed for Hyperion.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog