Lines Matching refs:server_errors
14 from fake_device_server import server_errors
76 raise server_errors.HTTPError(
80 raise server_errors.HTTPError(
84 raise server_errors.HTTPError(
112 server_errors.HTTPError if the device doesn't exist.
120 raise server_errors.HTTPError(400, 'Unsupported API')
122 raise server_errors.HTTPError(
128 raise server_errors.HTTPError(401, 'Access denied.')
147 raise server_errors.HTTPError(
159 raise server_errors.HTTPError(400, 'Require JSON body')