Sha256: 97b38b53a91c56563ad928ceb812fe4da34bd1921cdae32c11ba6d24a6c4f8da

Contents?: true

Size: 268 Bytes

Versions: 6

Compression:

Stored size: 268 Bytes

Contents

require "platina_world/errors/base"

module PlatinaWorld
  module Errors
    class FilePathError < Base
      def initialize(file_path)
        @file_path = file_path
      end

      def to_s
        "File does not exist: `#{@file_path}`"
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
platina_world-0.1.5 lib/platina_world/errors/file_path_error.rb
platina_world-0.1.4 lib/platina_world/errors/file_path_error.rb
platina_world-0.1.3 lib/platina_world/errors/file_path_error.rb
platina_world-0.1.2.1 lib/platina_world/errors/file_path_error.rb
platina_world-0.1.2 lib/platina_world/errors/file_path_error.rb
platina_world-0.1.1 lib/platina_world/errors/file_path_error.rb