Lines Matching refs:server_errors
14 from fake_device_server import server_errors
59 raise server_errors.HTTPError(400, 'Unclaimed ticket')
75 server_errors.HTTPError if there is an authorization error.
79 raise server_errors.HTTPError(401, 'Missing Authorization.')
84 raise server_errors.HTTPError(400, 'Malformed Authorization field')
90 raise server_errors.HTTPError(403, 'Authorization requires '
93 raise server_errors.HTTPError(403, 'Wrong access token.')
104 server_errors.HTTPError if the ticket doesn't exist.
122 server_errors.HTTPError if the ticket should exist but doesn't
133 raise server_errors.HTTPError(
139 raise server_errors.HTTPError(
143 raise server_errors.HTTPError(
146 raise server_errors.HTTPError(
168 server_errors.HTTPError if the ticket doesn't exist.
173 server_errors.HTTPError(400, 'Missing id for operation')
195 server_errors.HTTPError(400, 'Missing id for operation')