class Spectator::SystemExit

Overview

Indicates a call to exit the application was performed.

Defined in:

spectator/system_exit.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

should(matcher, message = nil) should, should_eventually(matcher, message = nil) should_eventually, should_never(matcher, message = nil) should_never, should_not(matcher, message = nil) should_not

Constructor Detail

def self.new(message : String? = nil, cause : Exception? = nil, status : Int32 = 0) #

Creates the exception.


[View source]

Instance Method Detail

def status : Int32 #

Status code passed to the exit call.


[View source]