Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/t/o/TopHat-1.02/TopHat_Platform/Controllers/datahandler.py   TopHat(Download)
				response = RC.response
			else:
				response = Response("No data returned from requests controller.", StatusCodes.SERVER_ERROR)
		except RequestError as e:
			# Handles Errors raised in requests. Errors contain a message and errorcode.
		except:
			# Return Server error message with the stacktrace
			response = Response(traceback.format_exc(), StatusCodes.SERVER_ERROR)
 
		if response.code is StatusCodes.OK or response.code is StatusCodes.CREATED:

src/t/o/TopHat-1.02/TopHat_Platform/Request/requesterrors.py   TopHat(Download)
	def __init__(self, message):
		self.code = CODE.SERVER_ERROR
		self.message = message
 
 

src/t/o/TopHat-Platform-HEAD/Controllers/datahandler.py   TopHat-Platform(Download)
				response = RC.response
			else:
				response = Response("No data returned from requests controller.", StatusCodes.SERVER_ERROR)
		except RequestError as e:
			# Handles Errors raised in requests. Errors contain a message and errorcode.
		except:
			# Return Server error message with the stacktrace
			response = Response(traceback.format_exc(), StatusCodes.SERVER_ERROR)
 
		if response.code is StatusCodes.OK or response.code is StatusCodes.CREATED:

src/t/o/TopHat-Platform-HEAD/Request/requesterrors.py   TopHat-Platform(Download)
	def __init__(self, message):
		self.code = CODE.SERVER_ERROR
		self.message = message