(id, cls, callbacks)
| 527 | } |
| 528 | |
| 529 | function missingId(id, cls, callbacks) { |
| 530 | dispatchError('ID not found in layout', [ |
| 531 | `Attempting to connect a callback ${cls} item to component:`, |
| 532 | ` "${stringifyId(id)}"`, |
| 533 | 'but no components with that id exist in the layout.', |
| 534 | '', |
| 535 | 'If you are assigning callbacks to components that are', |
| 536 | 'generated by other callbacks (and therefore not in the', |
| 537 | 'initial layout), you can suppress this exception by setting', |
| 538 | '`suppress_callback_exceptions=True`.', |
| 539 | tail(callbacks) |
| 540 | ]); |
| 541 | } |
| 542 | |
| 543 | function validateProp(id, idPath, rawProp, cls, callbacks) { |
| 544 | const prop = rawProp.split('@')[0]; |
no test coverage detected
searching dependent graphs…