mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
10 lines
293 B
TypeScript
10 lines
293 B
TypeScript
export * as SessionError from "./session-error.js"
|
|
|
|
import { Schema } from "effect"
|
|
|
|
export interface Error extends Schema.Schema.Type<typeof Error> {}
|
|
export const Error = Schema.Struct({
|
|
type: Schema.String,
|
|
message: Schema.String,
|
|
}).annotate({ identifier: "Session.StructuredError" })
|