Sha256: 61b16fc4d583e7b7e50645a4f5d2aa8698997c2bbfff9bdc9c8298a528725e35

Contents?: true

Size: 420 Bytes

Versions: 2

Compression:

Stored size: 420 Bytes

Contents

module Cupcakinator

  class ConfigFileNotFoundError < StandardError

    def initialize(filename, options)
      super I18n.t('cupcakinator.error.config_not_found', filename: filename, options: options)
    end

  end


  class ConfigFileInvalidError < StandardError

    def initialize(filename, message)
      super I18n.t('cupcakinator.error.config_invalid', filename: filename, message: message)
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cupcakinator-2.0.0 lib/cupcakinator/errors.rb
cupcakinator-1.1.2 lib/cupcakinator/errors.rb