Sha256: 03f0da4f72ec2211fe961c2088651cc34d2499a56000c53409908968de1c41a7

Contents?: true

Size: 273 Bytes

Versions: 3

Compression:

Stored size: 273 Bytes

Contents

module Blueprints
  # Is raised when blueprint or namespace is not found.
  class BlueprintNotFoundError < NameError
    def initialize(*args)
      @blueprints = args
    end

    def to_s
      "Blueprint/namespace not found '#{@blueprints.join(',')}'"
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blueprints-0.7.3 lib/blueprints/errors.rb
blueprints-0.7.2 lib/blueprints/errors.rb
blueprints-0.7.1 lib/blueprints/errors.rb