Sha256: c126175daa337020bbbdf4c8ff736bd7eed3e1770ac909bbde62c2f3e6a16d6a
Contents?: true
Size: 339 Bytes
Versions: 1
Compression:
Stored size: 339 Bytes
Contents
# frozen_string_literal: true module Emasser class Error < StandardError; end class ConfigurationMissingError < Error attr_reader :config def initialize(config = 'an option', message = 'No configuration was provided for variable:') @config = config super("#{message} #{@config}") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
emasser-3.4.1 | lib/emasser/errors.rb |