(nodeOrDoc, id, error)
| 121 | * @param {*} error |
| 122 | */ |
| 123 | export function rejectServicePromiseForDoc(nodeOrDoc, id, error) { |
| 124 | const ampdoc = getAmpdoc(nodeOrDoc); |
| 125 | const holder = getAmpdocServiceHolder(ampdoc); |
| 126 | rejectServicePromiseInternal(holder, id, error); |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Returns a service for the given id and window (a per-window singleton). Users |
no test coverage detected