Method
constructor
(
alias: string,
collectionId?: string,
availableKeys?: Array<string>,
)
Source from the content-addressed store, hash-verified
| 498 | */ |
| 499 | export class CollectionInputNotFoundError extends QueryCompilationError { |
| 500 | constructor( |
| 501 | alias: string, |
| 502 | collectionId?: string, |
| 503 | availableKeys?: Array<string>, |
| 504 | ) { |
| 505 | const details = collectionId |
| 506 | ? `alias "${alias}" (collection "${collectionId}")` |
| 507 | : `collection "${alias}"` |
| 508 | const availableKeysMsg = availableKeys?.length |
| 509 | ? `. Available keys: ${availableKeys.join(`, `)}` |
| 510 | : `` |
| 511 | super(`Input for ${details} not found in inputs map${availableKeysMsg}`) |
| 512 | } |
| 513 | } |
| 514 | |
| 515 | /** |
Callers
nothing calls this directly
Tested by
no test coverage detected