Exception: TurboRex::Exception::NotNTSuccess
- Inherits:
-
StandardError
- Object
- StandardError
- TurboRex::Exception::NotNTSuccess
- Defined in:
- lib/turborex/exception.rb
Instance Method Summary collapse
-
#initialize(ntstatus = '') ⇒ NotNTSuccess
constructor
A new instance of NotNTSuccess.
- #to_s ⇒ Object
Constructor Details
#initialize(ntstatus = '') ⇒ NotNTSuccess
Returns a new instance of NotNTSuccess.
56 57 58 |
# File 'lib/turborex/exception.rb', line 56 def initialize(ntstatus='') @message = "The return value isn't one of NT_SUCCESS: #{ntstatus}" end |
Instance Method Details
#to_s ⇒ Object
60 61 62 |
# File 'lib/turborex/exception.rb', line 60 def to_s @message end |