© 2026 Hedgehog Software, LLC
InternalServerErrorException
const make = Effect.gen(function* (_) { const rand = yield* _(Random.nextBoolean) console.log(rand) if (rand === true) { return yield* _(Effect.fail(new BadRequestException())) } if (rand === false) { return yield* _(Effect.fail(new InternalServerErrorException())) } })