constants
Globally accessible constants
cannot_connect_as_client_is_already_connected_error(new_client_sid, current_client_sid)
Generate an error message for when the client is already connected. Args: new_client_sid: The SID of the new client. current_client_sid: The SID of the current client. Returns: str: The error message.
Source code in src/ephys_link/utils/constants.py
client_disconnected_without_being_connected_error(client_sid)
Generate an error message for when the client is disconnected without being connected. Args: client_sid: The SID of the client. Returns: str: The error message.
Source code in src/ephys_link/utils/constants.py
did_not_reach_target_depth_error(request, final_unified_depth)
Generate an error message for when the manipulator did not reach the target position. Args: request: The object containing the requested depth. final_unified_depth: The final depth of the manipulator. Returns: str: The error message.
Source code in src/ephys_link/utils/constants.py
did_not_reach_target_position_error(request, axis_index, final_unified_position)
Generate an error message for when the manipulator did not reach the target position. Args: request: The object containing the requested position. axis_index: The index of the axis that did not reach the target position. final_unified_position: The final position of the manipulator. Returns: str: The error message.