Exception: Transifex::TransifexError
- Defined in:
- lib/transifex/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/transifex/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.
18 19 20 |
# File 'lib/transifex/errors.rb', line 18 def code @code end |
#details ⇒ Object (readonly)
Returns the value of attribute details.
18 19 20 |
# File 'lib/transifex/errors.rb', line 18 def details @details end |
#request_url ⇒ Object (readonly)
Returns the value of attribute request_url.
18 19 20 |
# File 'lib/transifex/errors.rb', line 18 def request_url @request_url end |