class Dry::CLI::InvalidCallbackError

@since 0.2.0

def initialize(callback)

Other tags:
    Api: - private

Other tags:
    Since: - 0.2.0
def initialize(callback)
  message = case callback
            when Class
              "expected `#{callback.inspect}' to respond to `#initialize' with arity 0"
            else
              "expected `#{callback.inspect}' to respond to `#call'"
            end
  super(message)
end