Exception: WinWindow::SystemError
- Defined in:
- lib/winwindow.rb
Overview
exception which is raised when an underlying method of the operating system encounters an error
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#function ⇒ Object
readonly
Returns the value of attribute function.
-
#system_message ⇒ Object
readonly
Returns the value of attribute system_message.
Instance Method Summary collapse
-
#initialize(message, stuff = {}) ⇒ SystemError
constructor
A new instance of SystemError.
Constructor Details
#initialize(message, stuff = {}) ⇒ SystemError
Returns a new instance of SystemError.
30 31 32 33 34 35 |
# File 'lib/winwindow.rb', line 30 def initialize(, stuff={}) super() @function=stuff[:function] @code=stuff[:code] @system_message=stuff[:system_message] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
28 29 30 |
# File 'lib/winwindow.rb', line 28 def code @code end |
#function ⇒ Object (readonly)
Returns the value of attribute function.
27 28 29 |
# File 'lib/winwindow.rb', line 27 def function @function end |
#system_message ⇒ Object (readonly)
Returns the value of attribute system_message.
29 30 31 |
# File 'lib/winwindow.rb', line 29 def @system_message end |