Class: Substation::Response::Exception

Inherits:
Substation::Response show all
Includes:
API::Failure
Defined in:
lib/substation/response/exception.rb,
lib/substation/response/exception/output.rb

Overview

An exception Substation::Response

Defined Under Namespace

Classes: Output

Instance Attribute Summary

Attributes inherited from Substation::Response

#env, #input

Instance Method Summary collapse

Methods included from API::Failure

#success?

Methods inherited from Substation::Response

#initialize, #success?, #to_request

Constructor Details

This class inherits a constructor from Substation::Response

Instance Method Details

#exception?true

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Test wether processing raised an exception

Returns:

  • (true)


15
16
17
# File 'lib/substation/response/exception.rb', line 15

def exception?
  true
end