Exception: TypeSwitcherException
- Inherits:
-
StandardError
- Object
- StandardError
- TypeSwitcherException
- Defined in:
- lib/grpc/orin3/provider.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type, original_error) ⇒ TypeSwitcherException
constructor
A new instance of TypeSwitcherException.
Constructor Details
#initialize(type, original_error) ⇒ TypeSwitcherException
Returns a new instance of TypeSwitcherException.
160 161 162 163 164 |
# File 'lib/grpc/orin3/provider.rb', line 160 def initialize(type, original_error) @type = type super("Error processing type #{type}: #{original_error.message}") set_backtrace(original_error.backtrace) end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
158 159 160 |
# File 'lib/grpc/orin3/provider.rb', line 158 def type @type end |