Exception: DocRaptorException::DocRaptorRequestException
- Defined in:
- lib/doc_raptor/exception.rb
Direct Known Subclasses
DocumentCreationFailure, DocumentDownloadFailure, DocumentListingFailure, DocumentStatusFailure
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#status_code ⇒ Object
Returns the value of attribute status_code.
Instance Method Summary collapse
-
#initialize(message, status_code) ⇒ DocRaptorRequestException
constructor
A new instance of DocRaptorRequestException.
- #inspect ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(message, status_code) ⇒ DocRaptorRequestException
Returns a new instance of DocRaptorRequestException.
5 6 7 8 9 |
# File 'lib/doc_raptor/exception.rb', line 5 def initialize(, status_code) self. = self.status_code = status_code super end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/doc_raptor/exception.rb', line 4 def @message end |
#status_code ⇒ Object
Returns the value of attribute status_code.
3 4 5 |
# File 'lib/doc_raptor/exception.rb', line 3 def status_code @status_code end |