Sha256: 45adceba1fc8b9c261c3d39d3b5f2d0d55e92ebd6136e8f81aba8002e6f3a5e3

Contents?: true

Size: 579 Bytes

Versions: 17

Compression:

Stored size: 579 Bytes

Contents

# frozen_string_literal: true

module ComfortableMexicanSofa

  class Error < StandardError
  end

  class MissingSite < ComfortableMexicanSofa::Error

    def initialize(identifier)
      super "Cannot find CMS Site with identifier: #{identifier}"
    end

  end

  class MissingLayout < ComfortableMexicanSofa::Error

    def initialize(identifier)
      super "Cannot find CMS Layout with identifier: #{identifier}"
    end

  end

  class MissingPage < ComfortableMexicanSofa::Error

    def initialize(path)
      super "Cannot find CMS Page at #{path}"
    end

  end

end

Version data entries

17 entries across 17 versions & 6 rubygems

Version Path
comfortable_mexican_sofa-2.0.19 lib/comfortable_mexican_sofa/error.rb
PixelForce_ETS-0.0.2 lib/comfortable_mexican_sofa/error.rb
PixelForce_ETS-0.0.1 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest2-0.0.4 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest2-0.0.3 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest2-0.0.2 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest2-0.0.1 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest-0.0.1 lib/comfortable_mexican_sofa/error.rb
kcyEtsTest-2.2.19 lib/comfortable_mexican_sofa/error.rb
ComfortableMexicanSofa-2.0.18 lib/comfortable_mexican_sofa/error.rb
kcy1-1.0 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.18 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.17 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.16 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.15 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.14 lib/comfortable_mexican_sofa/error.rb
comfortable_mexican_sofa-2.0.13 lib/comfortable_mexican_sofa/error.rb