Sha256: 09cac3e5370f45030b2a9d281d1f50e9f01280e9f07693221f2b1fe66e0f6b9d

Contents?: true

Size: 692 Bytes

Versions: 1

Compression:

Stored size: 692 Bytes

Contents

module Domainic
  module Command
    # 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.
    #
    # @note This is an abstract class and should not be instantiated directly. Instead, use one of its
    #   subclasses for specific error cases.
    #
    # @example Rescuing command errors
    #   begin
    #     # Command execution code
    #   rescue Domainic::Command::Error => e
    #     # Handle any command-related error
    #   end
    #
    # @author {https://aaronmallen.me Aaron Allen}
    # @since 0.1.0
    class Error < StandardError
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
domainic-command-0.1.0 sig/domainic/command/errors/error.rbs