MCPcopy
hub / github.com/hotwired/stimulus / handleError

Method handleError

src/core/dispatcher.ts:51–53  ·  view source on GitHub ↗
(error: Error, message: string, detail: object = {})

Source from the content-addressed store, hash-verified

49 // Error handling
50
51 handleError(error: Error, message: string, detail: object = {}) {
52 this.application.handleError(error, `Error ${message}`, detail)
53 }
54
55 private clearEventListenersForBinding(binding: Binding) {
56 const eventListener = this.fetchEventListenerForBinding(binding)

Callers

nothing calls this directly

Calls 1

handleErrorMethod · 0.65

Tested by

no test coverage detected