File: invalid_option.rb

package info (click to toggle)
ruby-ethon 0.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 396 kB
  • sloc: ruby: 2,108; sh: 9; makefile: 8
file content (13 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true
module Ethon
  module Errors

    # Raises when option is invalid.
    class InvalidOption < EthonError
      def initialize(option)
        super("The option: #{option} is invalid.")
      end
    end
  end
end