Exception: DockerMCP::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/docker_mcp.rb

Overview

Base error class for all DockerMCP-specific errors.

This error class serves as the parent for any custom exceptions that may be raised by DockerMCP operations. It inherits from StandardError to maintain compatibility with standard Ruby error handling patterns.

Examples:

Rescue DockerMCP errors

begin
  # DockerMCP operations
rescue DockerMCP::Error => e
  puts "DockerMCP error: #{e.message}"
end

Since:

  • 0.1.0