Class: ServiceError
- Inherits:
-
Object
- Object
- ServiceError
- Defined in:
- lib/default.rb
Overview
Instance Attribute Summary collapse
-
#errorCode ⇒ Object
Returns the value of attribute errorCode.
-
#errorType ⇒ Object
Returns the value of attribute errorType.
-
#isRetriable ⇒ Object
Returns the value of attribute isRetriable.
-
#reasonText ⇒ Object
Returns the value of attribute reasonText.
Instance Method Summary collapse
-
#initialize(errorType = nil, isRetriable = nil, errorCode = nil, reasonText = nil) ⇒ ServiceError
constructor
A new instance of ServiceError.
Constructor Details
#initialize(errorType = nil, isRetriable = nil, errorCode = nil, reasonText = nil) ⇒ ServiceError
Returns a new instance of ServiceError.
148 149 150 151 152 153 |
# File 'lib/default.rb', line 148 def initialize(errorType = nil, isRetriable = nil, errorCode = nil, reasonText = nil) @errorType = errorType @isRetriable = isRetriable @errorCode = errorCode @reasonText = reasonText end |
Instance Attribute Details
#errorCode ⇒ Object
Returns the value of attribute errorCode.
145 146 147 |
# File 'lib/default.rb', line 145 def errorCode @errorCode end |
#errorType ⇒ Object
Returns the value of attribute errorType.
143 144 145 |
# File 'lib/default.rb', line 143 def errorType @errorType end |
#isRetriable ⇒ Object
Returns the value of attribute isRetriable.
144 145 146 |
# File 'lib/default.rb', line 144 def isRetriable @isRetriable end |
#reasonText ⇒ Object
Returns the value of attribute reasonText.
146 147 148 |
# File 'lib/default.rb', line 146 def reasonText @reasonText end |