Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions klippy/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Exceptions that are broadly used in the klippy codebase
#
# Copyright (C) 2026 Gareth Farrington <gareth@waves.ky>
#
# This file may be distributed under the terms of the GNU GPLv3 license.


class CommandError(Exception):
pass


class WaitInterruption(CommandError):
pass
1 change: 1 addition & 0 deletions klippy/extras/pause_resume.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def __init__(self, config):
"CANCEL_PRINT",
self.cmd_CANCEL_PRINT,
desc=self.cmd_CANCEL_PRINT_help,
trigger_interrupt=True,
)
webhooks = self.printer.lookup_object("webhooks")
webhooks.register_endpoint(
Expand Down
1 change: 1 addition & 0 deletions klippy/extras/trad_rack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2317,6 +2317,7 @@ class TradRackToolHead(toolhead.ToolHead, object):
def __init__(self, config, buffer_pull_speed, is_extruder_synced):
self.printer = config.get_printer()
self.danger_options = self.printer.lookup_object("danger_options")
self.gcode = self.printer.lookup_object("gcode")
self.reactor = self.printer.get_reactor()
self.all_mcus = [
m for n, m in self.printer.lookup_objects(module="mcu")
Expand Down
Loading
Loading