Lines Matching refs:BadRequest
358 class BadRequest(Exception): class
401 except BadRequest as ex:
462 raise BadRequest("Device id not specified")
472 raise BadRequest("Missing Content-Length header\n" + str(err))
474 raise BadRequest("Content length unreadable\n" + str(err))
481 raise BadRequest("File not specified")
487 raise BadRequest("Unknown file specified")
630 raise BadRequest("Unsupported trace target\n" + str(err))
652 raise BadRequest("No trace in progress for {}".format(device_id))
689 raise BadRequest(
693 raise BadRequest("Unsupported trace target\n" + str(err))
695 BadRequest(f"Trace in progress for {device_id}")
712 raise BadRequest(
715 raise BadRequest("Unsupported trace target\n" + str(err))
717 BadRequest(f"Trace in progress for {device_id}")
751 raise BadRequest("No trace in progress for {}".format(device_id))
763 raise BadRequest("Unsupported trace target\n" + str(err))
765 BadRequest("Trace in progress for {}".format(device_id))