Exception: SimpleCovMcp::UsageError

Inherits:
Error
  • Object
show all
Defined in:
lib/simplecov_mcp/errors.rb

Overview

Command line usage errors

Instance Attribute Summary

Attributes inherited from Error

#original_error

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#initialize

Constructor Details

This class inherits a constructor from SimpleCovMcp::Error

Class Method Details

.for_subcommand(usage_fragment) ⇒ Object



183
184
185
# File 'lib/simplecov_mcp/errors.rb', line 183

def self.for_subcommand(usage_fragment)
  new("Usage: simplecov-mcp #{usage_fragment}")
end

Instance Method Details

#user_friendly_messageObject



187
188
189
# File 'lib/simplecov_mcp/errors.rb', line 187

def user_friendly_message
  message
end