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 : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall Ushould(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should, should_eventually(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_eventually, should_never(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_never, should_not(matcher : Spectator::Matchers::TypeMatcher(U), message = nil, *, _file = __FILE__, _line = __LINE__) forall U
should_not(matcher : Spectator::Matchers::NilMatcher, message = nil, *, _file = __FILE__, _line = __LINE__)
should_not(matcher, message = nil, *, _file = __FILE__, _line = __LINE__) should_not
Constructor Detail
Creates the exception.