Exception: PhraseAppUpdater::PhraseAppAPI::BadProjectIDError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/phraseapp_updater/phraseapp_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(original_error, id) ⇒ BadProjectIDError



275
276
277
278
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 275

def initialize(original_error, id)
  @project_id = id
  super(original_error.message)
end

Instance Attribute Details

#project_idObject (readonly)

Returns the value of attribute project_id.



273
274
275
# File 'lib/phraseapp_updater/phraseapp_api.rb', line 273

def project_id
  @project_id
end