| 
									
										
										
										
											2018-04-04 22:44:39 +03:00
										 |  |  | require_relative "server_operation_error" | 
					
						
							| 
									
										
										
										
											2015-07-30 15:37:43 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-04-04 22:44:39 +03:00
										 |  |  | module Devops | 
					
						
							|  |  |  |   module Exception | 
					
						
							|  |  |  |     class DeployInfoError < ServerOperationError | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def error_code | 
					
						
							|  |  |  |         Devops::Executor::ServerOperationResult.code_of_reason(:deploy_info_failed) | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def operation_type | 
					
						
							|  |  |  |         Devops::Model::Server::OperationType::DEPLOY_INFO | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def error_message msg | 
					
						
							|  |  |  |         "Failed while generating deploy info for server\nGenerating deploy info operation result was: #{msg}" | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     end | 
					
						
							|  |  |  |   end | 
					
						
							| 
									
										
										
										
											2015-07-30 15:37:43 +03:00
										 |  |  | end |