-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherrors.go
More file actions
23 lines (20 loc) · 766 Bytes
/
errors.go
File metadata and controls
23 lines (20 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
// Copyright (C) 2025 Dmitry Kolesnikov
//
// This file may be modified and distributed under the terms
// of the MIT license. See the LICENSE file for details.
// https://github.com/kshard/thinker
//
package thinker
import "github.com/fogfish/faults"
// Common agents errors
const (
ErrCodec = faults.Type("codec has failed")
ErrLLM = faults.Type("LLM I/O has failed")
ErrUnknown = faults.Type("unkown agent statet")
ErrAborted = faults.Type("execution aborted")
ErrMaxEpoch = faults.Safe1[int]("max epoch %d is reached")
ErrCmd = faults.Type("command I/O has failed")
ErrCmdConflict = faults.Type("command already exists")
ErrCmdInvalid = faults.Type("invalid command specification, missing required attributes")
)