class Cri::Command::CriExitException

Signals that Cri should abort execution. Unless otherwise specified using the ‘hard_exit` param, this exception will cause Cri to exit the running process.

@api private

Public Class Methods

new(is_error:) click to toggle source
Calls superclass method
# File lib/cri/command.rb, line 48
def initialize(is_error:)
  super('exit requested')

  @is_error = is_error
end

Public Instance Methods

error?() click to toggle source
# File lib/cri/command.rb, line 54
def error?
  @is_error
end