/** * @distilled.cloud/sentry -- Sentry SDK for Effect. * * `./services` is generated by `scripts/generate.ts` from the Smithy model that * `scripts/convert.ts` converts from the OpenAPI spec. Everything else in this * folder is hand-written. * * Endpoints the spec marks `x-sentry-experimental` are generated to * `./unstable-services` and imported as * `@distilled.cloud/sentry/unstable/sentry`; they are not re-exported from * the package root. * * @example * ```ts * import * as Sentry from "@distilled.cloud/sentry"; * * const orgs = yield* Sentry.Services.sentry.listOrganizations({}); * ``` */ export * from "./credentials.ts"; export * from "./errors.ts"; export * as T from "./traits.ts"; export { SentryProtocol, type SentryOpError, type SentryOpContext } from "./protocol.ts"; export { paginateCursor } from "./pagination.ts"; export * as Retry from "./retry.ts"; export * as Services from "./services/index.ts"; // Operations (and their request/response types) are importable straight off // the package root. The service-local typed error classes shadow the // same-named shared ones from ./errors.ts -- the ops actually raise the // service-local classes. export * from "./services/sentry.ts"; export { BadRequest, Conflict, Forbidden, NotFound } from "./services/sentry.ts";