class Spectator::SystemExit
- Spectator::SystemExit
- Exception
- Reference
- Object
Overview
Indicates a call to exit the application was performed.
Defined in:
spectator/system_exit.crConstructors
-
.new(message : String | Nil = nil, cause : Exception | Nil = nil, status : Int32 = 0)
Creates the exception.
Instance Method Summary
-
#status : Int32
Status code passed to the exit call.
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
Creates the exception.