e071084ebe
govulncheck / govulncheck (push) Has been cancelled
Lint / golangci-lint (push) Has been cancelled
Run Tests / Unit Tests (push) Has been cancelled
Run Tests / Etcd Integration Tests (push) Has been cancelled
Harness (E2E) / Harnesses (mock LLM) (push) Has been cancelled
Harness (E2E) / Provider harnesses (live LLM conformance) (push) Has been cancelled
22 lines
457 B
Python
22 lines
457 B
Python
"""Custom exceptions for LangChain Go Micro integration."""
|
|
|
|
|
|
class GoMicroError(Exception):
|
|
"""Base exception for Go Micro integration errors."""
|
|
pass
|
|
|
|
|
|
class GoMicroConnectionError(GoMicroError):
|
|
"""Raised when unable to connect to MCP gateway."""
|
|
pass
|
|
|
|
|
|
class GoMicroAuthError(GoMicroError):
|
|
"""Raised when authentication fails."""
|
|
pass
|
|
|
|
|
|
class GoMicroToolError(GoMicroError):
|
|
"""Raised when tool execution fails."""
|
|
pass
|