Function
storageError
(props: Omit<ConstructorParameters<typeof PlatformError.SystemError>[0], "reason" | "module">)
Source from the content-addressed store, hash-verified
| 266 | |
| 267 | /** @internal */ |
| 268 | const storageError = (props: Omit<ConstructorParameters<typeof PlatformError.SystemError>[0], "reason" | "module">) => |
| 269 | new PlatformError.SystemError({ |
| 270 | reason: "PermissionDenied", |
| 271 | module: "KeyValueStore", |
| 272 | ...props |
| 273 | }) |
| 274 | |
| 275 | /** @internal */ |
| 276 | export const layerStorage = (evaluate: LazyArg<Storage>) => |
Tested by
no test coverage detected