(self: AsyncResult<A, E>)
| 458 | * @since 4.0.0 |
| 459 | */ |
| 460 | export const error = <A, E>(self: AsyncResult<A, E>): Option.Option<E> => |
| 461 | self._tag === "Failure" ? Cause.findErrorOption(self.cause) : Option.none() |
| 462 | |
| 463 | /** |
| 464 | * Converts a result to an `Exit`, succeeding with a success value, failing with a failure cause, or failing with `NoSuchElementError` for `Initial`. |
nothing calls this directly
no outgoing calls
no test coverage detected