Exception: ModpackLocalizer::InvalidLineCountError
- Defined in:
- lib/modpack_localizer/util/error.rb
Overview
行数が異なる場合のエラークラス
Constant Summary collapse
- INVALID_LINE_COUNT =
<<~TEXT.freeze \n Invalid line count: %s TEXT
Instance Method Summary collapse
Constructor Details
#initialize(expect_count, actual_count) ⇒ ModpackLocalizer::InvalidLineCountError
31 32 33 |
# File 'lib/modpack_localizer/util/error.rb', line 31 def initialize(expect_count, actual_count) super(format(INVALID_LINE_COUNT, "Expected: #{expect_count}, Actual: #{actual_count}")) end |