FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
opencode/packages/opencode/src/session/message-error.ts at dev · argszero/opencode · GitHub
argszero
/
opencode
Public
forked from
anomalyco/opencode
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
opencode
/
packages
/
opencode
/
src
/
session
/
message-error.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (10 loc) · 519 Bytes
Breadcrumbs
opencode
/
packages
/
opencode
/
src
/
session
/
message-error.ts
Copy path
File metadata and controls
14 lines (10 loc) · 519 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
{
Schema
}
from
"effect"
import
{
NamedError
}
from
"@opencode-ai/core/util/error"
export
const
OutputLengthError
=
NamedError
.
create
(
"MessageOutputLengthError"
,
{
}
)
export
const
AuthError
=
NamedError
.
create
(
"ProviderAuthError"
,
{
providerID
:
Schema
.
String
,
message
:
Schema
.
String
,
}
)
export
const
Shared
=
[
AuthError
.
EffectSchema
,
NamedError
.
Unknown
.
EffectSchema
,
OutputLengthError
.
EffectSchema
]
as
const
export
const
SharedSchema
=
Schema
.
Union
(
Shared
)
export
*
as
MessageError
from
"./message-error"
Back
|
FazBrowse Home
|
New Git URL