MCPcopy Index your code
hub / github.com/plotly/dash / _error

Method _error

dash/_hooks.py:147–149  ·  view source on GitHub ↗
(func: _t.Callable[[Exception], _t.Any])

Source from the content-addressed store, hash-verified

145 """Automatically add an error handler to the dash app."""
146
147 def _error(func: _t.Callable[[Exception], _t.Any]):
148 self.add_hook("error", func, priority=priority, final=final)
149 return func
150
151 return _error
152

Callers

nothing calls this directly

Calls 1

add_hookMethod · 0.95

Tested by

no test coverage detected