mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-04-25 04:16:22 +02:00
13 lines
534 B
Go
13 lines
534 B
Go
package identity
|
|
|
|
import "errors"
|
|
|
|
// Sentinel errors for identity operations.
|
|
var (
|
|
ErrMissingAgentID = errors.New("identity: agent_id is required")
|
|
ErrMissingAgentName = errors.New("identity: agent_name is required")
|
|
ErrMissingCreatedBy = errors.New("identity: created_by is required")
|
|
ErrInvalidAgentType = errors.New("identity: invalid agent_type (valid: AUTONOMOUS, SUPERVISED, EXTERNAL)")
|
|
ErrAgentNotFound = errors.New("identity: agent not found")
|
|
ErrAgentExists = errors.New("identity: agent already exists")
|
|
)
|