| 
									
										
										
										
											2018-04-04 22:44:39 +03:00
										 |  |  | require_relative 'devops_error' | 
					
						
							| 
									
										
										
										
											2015-08-03 15:09:04 +03:00
										 |  |  | module Devops | 
					
						
							| 
									
										
										
										
											2018-04-04 22:44:39 +03:00
										 |  |  |   module Exception | 
					
						
							|  |  |  |     class ParserError < DevopsError | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def self.create_from_db_exception e | 
					
						
							|  |  |  |         Devops::Exception::ParserError.new("Parser error: " + e.problem) | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |       def http_status | 
					
						
							|  |  |  |         400
 | 
					
						
							|  |  |  |       end | 
					
						
							|  |  |  |     end | 
					
						
							| 
									
										
										
										
											2015-08-03 15:09:04 +03:00
										 |  |  |   end | 
					
						
							|  |  |  | end |