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

Method error

dash/_hooks.py:144–151  ·  view source on GitHub ↗

Automatically add an error handler to the dash app.

(self, priority: _t.Optional[int] = None, final: bool = False)

Source from the content-addressed store, hash-verified

142 return wrap
143
144 def error(self, priority: _t.Optional[int] = None, final: bool = False):
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
153 def callback(
154 self, *args, priority: _t.Optional[int] = None, final: bool = False, **kwargs

Callers 4

helpFunction · 0.45
getPropTypeFunction · 0.45
worker.tsFile · 0.45
getMetadataFunction · 0.45

Calls

no outgoing calls

Tested by 1

getMetadataFunction · 0.36