1import * as Data from "effect/Data";
2
3/**
4 * A {@link Bucket}'s Tigris credentials could not be resolved when a
5 * bound S3 operation ran.
6 *
7 * Tigris hands out the access key pair once, at add-on creation. If the
8 * Bucket attributes reaching the binding carry no key pair — an adopted
9 * bucket, or one whose create-only secrets were never persisted — the
10 * operation fails with this instead of signing an anonymous request.
11 */
12export class TigrisCredentialsMissing extends Data.TaggedError(
13 "Fly.TigrisCredentialsMissing",
14)<{
15 name: string;
16}> {}