doc(errors): Fix pep8 "line too long" errors

This commit is contained in:
kgriffs
2014-04-07 18:15:56 -05:00
parent 773e2b9f99
commit 016843ab58
2 changed files with 4 additions and 2 deletions

View File

@@ -291,7 +291,8 @@ class HTTPBadGateway(HTTPError):
"""502 Bad Gateway
Args:
title (str): Error title, for example: 'Upstream Server is Unavailable'.
title (str): Error title, for
example: 'Upstream Server is Unavailable'.
description (str): Human-friendly description of the error, along with
a helpful suggestion or two.
kwargs (optional): Same as for ``HTTPError``.

View File

@@ -37,7 +37,8 @@ class HTTPError(Exception):
title (str): Error title to send to the client.
description (str): Description of the error to send to the client.
headers (dict): Extra headers to add to the response.
link (str): An href that the client can provide to the user for getting help.
link (str): An href that the client can provide to the user for
getting help.
code (int): An internal application code that a user can reference when
requesting support for the error.