Module: Crowdin::Errors::ClcErrorsRaiser

Defined in:
lib/crowdin-api/core/errors_raisers.rb

Overview

Command-Line Client errors raiser

Instance Method Summary collapse

Instance Method Details

#raise_api_token_is_required_errorObject

Raises:

  • (ArgumentError)


15
16
17
# File 'lib/crowdin-api/core/errors_raisers.rb', line 15

def raise_api_token_is_required_error
  raise(ArgumentError, '--api-token option is required')
end

#raise_organization_domain_is_required_errorObject

Raises:

  • (ArgumentError)


19
20
21
# File 'lib/crowdin-api/core/errors_raisers.rb', line 19

def raise_organization_domain_is_required_error
  raise(ArgumentError, '--organization-domain option is required for Enterprise mode')
end