Exception: FileTurn::FileTurnException
- Inherits:
-
Exception
- Object
- Exception
- FileTurn::FileTurnException
- Defined in:
- lib/fileturn/exceptions.rb
Direct Known Subclasses
InternalServerException, UnauthorizedException, UnprocessableEntityException
Instance Attribute Summary collapse
-
#resp ⇒ Object
readonly
Returns the value of attribute resp.
Instance Method Summary collapse
-
#initialize(resp) ⇒ FileTurnException
constructor
A new instance of FileTurnException.
- #to_s ⇒ Object
Constructor Details
#initialize(resp) ⇒ FileTurnException
Returns a new instance of FileTurnException.
5 6 7 |
# File 'lib/fileturn/exceptions.rb', line 5 def initialize(resp) @resp = resp end |
Instance Attribute Details
#resp ⇒ Object (readonly)
Returns the value of attribute resp.
4 5 6 |
# File 'lib/fileturn/exceptions.rb', line 4 def resp @resp end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/fileturn/exceptions.rb', line 9 def to_s resp end |