MCPcopy Create free account
hub / github.com/celery/celery / raise_error

Function raise_error

t/integration/tasks.py:101–103  ·  view source on GitHub ↗

Deliberately raise an error.

(*args)

Source from the content-addressed store, hash-verified

99
100@shared_task
101def raise_error(*args):
102 """Deliberately raise an error."""
103 raise ValueError("deliberate error")
104
105
106@shared_task

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected