lib/zakuro/exception/exception.rb in zakuro-0.7.0 vs lib/zakuro/exception/exception.rb in zakuro-0.7.2
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: true
require_relative '../output/logger'
-require_relative './cause'
-
+require_relative './case/preset'
require_relative './case/pattern'
require_relative './zakuro_error'
+require_relative './cause'
# :nodoc:
module Zakuro
# :nodoc:
module Exception
@@ -19,10 +19,10 @@
MESSAGE = 'an error has occurred'
#
# 例外を取得する
#
- # @param [Array<Template>] presets 原因プリセット
+ # @param [Array<Case::Preset>] presets 原因プリセット
#
# @return [ZakuroError] ライブラリエラー
#
def self.get(presets: [])
causes = []