54 lines · 1.4 KB · TypeScript
RawDownload
import {  HttpApiSchema,} from "@effect/platform";import * as Schema from "effect/Schema"; export class ControlPlaneBadRequestError extends Schema.TaggedError<ControlPlaneBadRequestError>()(  "ControlPlaneBadRequestError",  {    operation: Schema.String,    message: Schema.String,    details: Schema.String,  },  HttpApiSchema.annotations({ status: 400 }),) {} export class ControlPlaneUnauthorizedError extends Schema.TaggedError<ControlPlaneUnauthorizedError>()(  "ControlPlaneUnauthorizedError",  {    operation: Schema.String,    message: Schema.String,    details: Schema.String,  },  HttpApiSchema.annotations({ status: 401 }),) {} export class ControlPlaneForbiddenError extends Schema.TaggedError<ControlPlaneForbiddenError>()(  "ControlPlaneForbiddenError",  {    operation: Schema.String,    message: Schema.String,    details: Schema.String,  },  HttpApiSchema.annotations({ status: 403 }),) {} export class ControlPlaneNotFoundError extends Schema.TaggedError<ControlPlaneNotFoundError>()(  "ControlPlaneNotFoundError",  {    operation: Schema.String,    message: Schema.String,    details: Schema.String,  },  HttpApiSchema.annotations({ status: 404 }),) {} export class ControlPlaneStorageError extends Schema.TaggedError<ControlPlaneStorageError>()(  "ControlPlaneStorageError",  {    operation: Schema.String,    message: Schema.String,    details: Schema.String,  },  HttpApiSchema.annotations({ status: 500 }),) {}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t