Exception: Revolut::Forbidden
- Defined in:
- lib/revolut/error.rb
Overview
Raised when Revolut returns a 403 HTTP status code
Instance Method Summary collapse
-
#to_s ⇒ Object
Default error message.
Methods inherited from Error
error_class, error_message, from_response, #initialize
Constructor Details
This class inherits a constructor from Revolut::Error
Instance Method Details
#to_s ⇒ Object
Default error message.
80 81 82 |
# File 'lib/revolut/error.rb', line 80 def to_s @message || 'Access to the requested resource or action is forbidden.' end |