Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added http code 424 #1358

Merged
merged 4 commits into from Nov 18, 2018
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -520,6 +520,20 @@ class Locked(HTTPException):
)


class Depended(HTTPException):
This conversation was marked as resolved by Arlington1985

This comment has been minimized.

Copy link
@davidism

davidism Sep 11, 2018

Member

This should match the error: FailedDependency

This comment has been minimized.

Copy link
@Arlington1985

Arlington1985 Sep 11, 2018

Author Contributor

I can't see such line in the code

This comment has been minimized.

Copy link
@davidism

davidism Sep 11, 2018

Member

You wrote Depended, which doesn't match the exception title, which is "FailedDependency".

This comment has been minimized.

Copy link
@Arlington1985

Arlington1985 Sep 11, 2018

Author Contributor

Ok, got it. Will fix that. Thanks


"""*424* `Failed Dependency`
Used if the method could not be performed on the resource

This comment has been minimized.

Copy link
@lepture

lepture Sep 13, 2018

Member

There is a trailing whitespace after resource, which causes the travis-ci failure.

This comment has been minimized.

Copy link
@Arlington1985

Arlington1985 Sep 13, 2018

Author Contributor

Fixed, but still failing

because the requested action depended on another action and that action failed.
"""
code = 424
description = (
'The method could not be performed on the resource because the requested action '
'depended on another action and that action failed.'
)


class PreconditionRequired(HTTPException):

"""*428* `Precondition Required`
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.