Sha256: 3c23455315d7f7ff0426b4ba0b4c0bfe5a74dc42c4c3a4225a9be44295439e7a
Contents?: true
Size: 1.49 KB
Versions: 3
Compression:
Stored size: 1.49 KB
Contents
module Nucleus module Adapters module V1 class CloudFoundryV2 < Stub # Semantic error messages that are specific for Cloud Foundry V2 module SemanticErrors # Get all Cloud Foundry V2 specific semantic error definitions. # @return [Hash<Symbol,Hash<Symbol,String>>] the error message definitions, including the error +code+, # e.g. +422_200_1+ and the +message+ that shall be formatted when used. def semantic_error_messages { 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 end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems