Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

299 B
Raw Blame
import { HttpApiSchema } from "@effect/platform";
import { Schema } from "effect";

export class InternalServerError extends Schema.TaggedError<InternalServerError>()(
	"InternalServerError",
	{ cause: Schema.Literal("database", "s3", "unknown") },
	HttpApiSchema.annotations({ status: 500 }),
) {}