Sha256: 98900640864e98e0967ebdbe39c481b1f03847d257d5603eea7809a14d587fbf
Contents?: true
Size: 409 Bytes
Versions: 65
Compression:
Stored size: 409 Bytes
Contents
# frozen_string_literal: true module Prefab module Errors class MissingDefaultError < Prefab::Error def initialize(key) message = "No value found for key '#{key}' and no default was provided.\n\nIf you'd prefer returning `nil` rather than raising when this occurs, modify the `on_no_default` value you provide in your Prefab::Options." super(message) end end end end
Version data entries
65 entries across 65 versions & 1 rubygems