(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
})
| 229 | * @since 4.0.0 |
| 230 | */ |
| 231 | export const systemError = (options: { |
| 232 | readonly _tag: SystemErrorTag |
| 233 | readonly module: string |
| 234 | readonly method: string |
| 235 | readonly description?: string | undefined |
| 236 | readonly syscall?: string | undefined |
| 237 | readonly pathOrDescriptor?: string | number | undefined |
| 238 | readonly cause?: unknown |
| 239 | }): PlatformError => new PlatformError(new SystemError(options)) |
| 240 | |
| 241 | /** |
| 242 | * Creates a `PlatformError` whose reason is a `BadArgument`. |
no outgoing calls
no test coverage detected