{"record":{"id":"292d13427325d6c7","repo":"puppetlabs/puppet","slug":"value-is-not-a-good-copyright-year-set-or-ran","errorCode":null,"errorMessage":"%{value} is not a good copyright year, set, or range","messagePattern":"%(.+?) is not a good copyright year, set, or range","errorType":"validation","errorClass":"ArgumentError","httpStatus":null,"severity":"error","filePath":"lib/puppet/interface/documentation.rb","lineNumber":359,"sourceCode":"            end\n          end\n        end\n\n      when Array then\n        result = []\n        input.each do |item|\n          item = munge_copyright_year item\n          if item.is_a? Array\n            result.concat item\n          else\n            result << item\n          end\n        end\n        result\n\n      else\n        # TRANSLATORS 'copyright' is an attribute name and should not be translated\n        raise ArgumentError, _(\"%{value} is not a good copyright year, set, or range\") % { value: input.inspect }\n      end\n    end\n  end\nend\n","sourceCodeStart":341,"sourceCodeEnd":364,"githubUrl":"https://github.com/puppetlabs/puppet/blob/e227c27540975c25aa22d533a52424a9d2fc886a/lib/puppet/interface/documentation.rb#L341-L364","documentation":"Error \"%{value} is not a good copyright year, set, or range\" thrown in puppetlabs/puppet.","triggerScenarios":"Thrown at lib/puppet/interface/documentation.rb:359 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e227c27540975c25aa22d533a52424a9d2fc886a","analyzedAt":"2026-08-21T20:49:46.650Z","schemaVersion":2},"datasetVersion":"2026-08-21T23:17:16.201Z"}