registerRollback
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.
Registers a relationship between a tool and its corresponding rollback tool using the specified functions.
Parameters
The function representing the primary tool to register.
The function representing the rollback counterpart to the primary tool.
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.
Registers a rollback relationship between the provided tool and its corresponding rollback tool. Ensures that the tool is not already defined in the rollback tools map.
Parameters
The primary tool to register.
The tool that acts as the rollback counterpart to the provided tool.
Throws
If the tool is already defined in the rollbackToolsMap.