Exception: Foxtail::CLI::CheckError
- Inherits:
-
Error
- Object
- StandardError
- Tools::Error
- Error
- Foxtail::CLI::CheckError
- Defined in:
- lib/foxtail/cli.rb
Overview
Raised when check command finds errors in FTL files
Instance Attribute Summary collapse
-
#error_count ⇒ Integer
readonly
Number of errors found.
Instance Method Summary collapse
-
#initialize(error_count) ⇒ CheckError
constructor
A new instance of CheckError.
Constructor Details
#initialize(error_count) ⇒ CheckError
Returns a new instance of CheckError.
24 25 26 27 |
# File 'lib/foxtail/cli.rb', line 24 def initialize(error_count) @error_count = error_count super("Check found #{error_count} error(s)") end |
Instance Attribute Details
#error_count ⇒ Integer (readonly)
Returns Number of errors found.
21 22 23 |
# File 'lib/foxtail/cli.rb', line 21 def error_count @error_count end |