Exception: Transifex::TransifexError
- Defined in:
- lib/tx-ruby/errors.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#details ⇒ Object
readonly
Returns the value of attribute details.
-
#request_url ⇒ Object
readonly
Returns the value of attribute request_url.
Instance Method Summary collapse
-
#initialize(request_url, code, details) ⇒ TransifexError
constructor
A new instance of TransifexError.
Constructor Details
#initialize(request_url, code, details) ⇒ TransifexError
Returns a new instance of TransifexError.
20 21 22 23 |
# File 'lib/tx-ruby/errors.rb', line 20 def initialize(request_url, code, details) @request_url, @code, @details = request_url, code, details super(details) if details end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
19 20 21 |
# File 'lib/tx-ruby/errors.rb', line 19 def code @code end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
19 20 21 |
# File 'lib/tx-ruby/errors.rb', line 19 def details @details end |
#request_url ⇒ Object (readonly)
Returns the value of attribute request_url.
19 20 21 |
# File 'lib/tx-ruby/errors.rb', line 19 def request_url @request_url end |