Exception: WT::UnexpectedCodeFoundException
- Inherits:
-
Exception
- Object
- Exception
- WT::UnexpectedCodeFoundException
- Defined in:
- lib/assertion.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ UnexpectedCodeFoundException
constructor
A new instance of UnexpectedCodeFoundException.
Constructor Details
#initialize(code) ⇒ UnexpectedCodeFoundException
Returns a new instance of UnexpectedCodeFoundException.
189 190 191 192 |
# File 'lib/assertion.rb', line 189 def initialize(code) super("Unexpected response code where found in response.") @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
187 188 189 |
# File 'lib/assertion.rb', line 187 def code @code end |