mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 07:13:32 +00:00
chore(effect): update to beta.107 (#43109)
This commit is contained in:
parent
8fc65b3038
commit
d9b81d2233
91 changed files with 1332 additions and 1117 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { Schema } from "effect"
|
||||
|
||||
export class ClientError extends Schema.TaggedErrorClass<ClientError>()("ClientError", {
|
||||
export class ClientError extends Schema.TaggedError<ClientError>()("ClientError", {
|
||||
cause: Schema.Defect(),
|
||||
}) {}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ const Endpoint2Params = Schema.Struct({ sessionID: Schema.String })
|
|||
|
||||
const Endpoint2Success = Schema.Struct({ data: Schema.String })
|
||||
|
||||
class Endpoint2Error0Class extends Schema.TaggedErrorClass<Endpoint2Error0Class>("Missing")("Missing", {
|
||||
class Endpoint2Error0Class extends Schema.TaggedError<Endpoint2Error0Class>("Missing")("Missing", {
|
||||
message: Schema.String,
|
||||
}) {}
|
||||
const Endpoint2Error0 = Endpoint2Error0Class.annotate({ httpApiStatus: 404 })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue