Sha256: bc92677d9beddf26ef2539fa9650363d86df970ab49fbf861a64e0a4b32f84bf

Contents?: true

Size: 394 Bytes

Versions: 4

Compression:

Stored size: 394 Bytes

Contents

module Cupcakinator

  class ConfigFileNotFoundError < StandardError

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

  end


  class ConfigFileInvalidError < StandardError

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

  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cupcakinator-1.1.1 lib/cupcakinator/errors.rb
cupcakinator-1.1.0 lib/cupcakinator/errors.rb
cupcakinator-1.0.1 lib/cupcakinator/errors.rb
cupcakinator-1.0.0 lib/cupcakinator/errors.rb