(options: {
readonly _tag: SystemErrorTag
readonly module: string
readonly method: string
readonly description?: string | undefined
readonly syscall?: string | undefined
readonly pathOrDescriptor?: string | number | undefined
readonly cause?: unknown
})
| 193 | * @since 4.0.0 |
| 194 | */ |
| 195 | export const systemError = (options: { |
| 196 | readonly _tag: SystemErrorTag |
| 197 | readonly module: string |
| 198 | readonly method: string |
| 199 | readonly description?: string | undefined |
| 200 | readonly syscall?: string | undefined |
| 201 | readonly pathOrDescriptor?: string | number | undefined |
| 202 | readonly cause?: unknown |
| 203 | }): PlatformError => new PlatformError(new SystemError(options)) |
| 204 | |
| 205 | /** |
| 206 | * Creates a `PlatformError` whose reason is a `BadArgument`. |
no outgoing calls
no test coverage detected
searching dependent graphs…