Exception: Domainic::Command::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/domainic/command/errors/error.rb

Overview

Note:

This is an abstract class and should not be instantiated directly. Instead, use one of its subclasses for specific error cases.

Base error class for command-related errors. This class serves as the root of the command error hierarchy, allowing for specific error handling of command-related issues.

Examples:

Rescuing command errors

begin
  # Command execution code
rescue Domainic::Command::Error => e
  # Handle any command-related error
end

Since:

  • 0.1.0

Direct Known Subclasses

ExecutionError