Public declaration syntax from forge-go/embed/error.go Original source SHA-256: 44ebe6c150721faf8048d61e61369649176ae48543bf8d1210b169202f43b521 Function bodies and constant values are omitted. This is not the complete implementation. Source line 17 type ErrKind string const ( // ErrKindModel indicates a model/provider error during embedding or reranking. ErrKindModel ErrKind; Source line 40 type EmbedError struct Source line 55 func (e *EmbedError) Error() string Source line 63 func (e *EmbedError) Unwrap() error Source line 68 func (e *EmbedError) Is(target error) bool Source line 99 func NewModelError(model, message string, cause error) *EmbedError Source line 113 func NewDimensionMismatchError(expected, got int) *EmbedError Source line 129 func NewEmptyInputError(operation string) *EmbedError Source line 142 func NewStoreError(operation, message string, cause error) *EmbedError Source line 156 func NewChunkingError(message string) *EmbedError