Skip to content

Commit

Permalink
remove exception raises from abstract methods in abstract outputter
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaumik-Ashraf committed Sep 25, 2024
1 parent e690d77 commit cd674c0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/inferno/apps/cli/execute/abstract_outputter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,26 @@ class Execute
class AbstractOutputter
# @see Inferno::CLI::Main#execute for options
def print_start_message(options)
raise StandardError, 'not implemented'
end

# Implementation MUST call `yield`
# @see Inferno::CLI::Main#execute for options
def print_around_run(options, &)
raise StandardError, 'not implemented'
end

# @see Inferno::CLI::Main#execute for options
# @param results [Array<Inferno::Entity::Result>]
def print_results(options, results)
raise StandardError, 'not implemented'
end

# @see Inferno::CLI::Main#execute for options
def print_end_message(options)
raise StandardError, 'not implemented'
end

# Implementation MUST NOT re-raise exception or exit
# @see Inferno::CLI::Main#execute for options
# @param exception [Exception]
def print_error(options, exception)
raise StandardError, 'not implemented'
end
end
# rubocop:enable Lint/UnusedMethodArgument
Expand Down

0 comments on commit cd674c0

Please sign in to comment.