Introduces a comprehensive custom error hierarchy for more precise error management in API calls
Replaces generic error throwing with specific error types:
- Adds custom error classes for various API-related scenarios
- Improves error handling in cleanup and API client components
- Enables more informative and type-safe error tracking
Enhances error reporting and debugging capabilities for Anthropic API interactions