Sha256: 06a56b26d0a882dbe5d734130bd4e3c02c098b6190834990f3a955790840b167

Contents?: true

Size: 231 Bytes

Versions: 3

Compression:

Stored size: 231 Bytes

Contents

module Yodeler
  class DuplicateEndpointNameError < StandardError
    attr_reader :name
    def initialize(name:)
      @name = name
      super("An instance of Yodeler::Endpoint named '#{name}' already exists.")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yodeler-0.1.3 lib/yodeler/duplicate_endpoint_name_error.rb
yodeler-0.1.2 lib/yodeler/duplicate_endpoint_name_error.rb
yodeler-0.1.1 lib/yodeler/duplicate_endpoint_name_error.rb