Module: Nucleus::Adapters::V1::CloudFoundryV2::SemanticErrors
- Included in:
- Nucleus::Adapters::V1::CloudFoundryV2
- Defined in:
- lib/nucleus/adapters/v1/cloud_foundry_v2/semantic_errors.rb
Overview
Semantic error messages that are specific for Cloud Foundry V2
Instance Method Summary collapse
-
#semantic_error_messages ⇒ Hash<Symbol,Hash<Symbol,String>>
Get all Cloud Foundry V2 specific semantic error definitions.
Instance Method Details
#semantic_error_messages ⇒ Hash<Symbol,Hash<Symbol,String>>
Get all Cloud Foundry V2 specific semantic error definitions.
10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/nucleus/adapters/v1/cloud_foundry_v2/semantic_errors.rb', line 10 def { only_one_runtime: { code: 422_200_1, message: 'Cloud Foundry V2 only allows 1 runtime per application' }, build_in_progrss: { code: 422_200_2, message: 'Application build is still in progress' }, no_space_assigned: { code: 422_200_3, message: 'User is not assigned to any space' }, service_not_bindable: { code: 422_200_4, message: "Can't add service '%s' to the application: "\ 'The service does not allow to be bound to applications.' }, service_not_active: { code: 422_200_5, message: "Can't add service '%s' to the application: "\ 'The service does is not active, thus does not allow to create a new instance to bind to the app.' }, service_not_updateable: { code: 422_200_6, message: "Can't change service '%s' to the new plan: "\ 'The service does not allow to update the plan.' } } end |