Exception: Txgh::TransifexUnauthorizedError

Inherits:
TransifexApiError show all
Defined in:
lib/txgh/errors.rb

Instance Attribute Summary

Attributes inherited from TransifexApiError

#status_code

Instance Method Summary collapse

Constructor Details

#initialize(message = 'Unauthorized') ⇒ TransifexUnauthorizedError

Returns a new instance of TransifexUnauthorizedError.



21
22
23
# File 'lib/txgh/errors.rb', line 21

def initialize(message = 'Unauthorized')
  super(message, 401)
end