Method: Amadeus::ResponseError#code
- Defined in:
- lib/amadeus/client/errors.rb
#code ⇒ String (readonly)
A unique code for this type of error. Options include NetworkError
, ParserError
, ServerError
, AuthenticationError
, NotFoundError
and UnknownError
.
19 20 21 |
# File 'lib/amadeus/client/errors.rb', line 19 def code @code end |