(pluginId: string, hook: string, cause: unknown)
| 898 | isStorageFailure(cause) ? cause : new StorageError({ message, cause }); |
| 899 | |
| 900 | const pluginStorageFailure = (pluginId: string, hook: string, cause: unknown): StorageFailure => |
| 901 | storageFailureFromUnknown(`${hook} failed for plugin ${pluginId}`, cause); |
| 902 | |
| 903 | // oxlint-disable executor/no-instanceof-error, executor/no-unknown-error-message -- boundary: render an arbitrary failure into one readable log field |
| 904 | /** One-line rendering of a failed rebuild, for the operator-facing warning. |
no test coverage detected