Skip to content

Commit

Permalink
Deprecation of ETagMismatch
Browse files Browse the repository at this point in the history
Reintroduces `Ldp::ETagMismatch` as an alias to `PreconditionFailed` for
backwards compatibility.

Revert this to end support for the old name.
  • Loading branch information
Tom Johnson committed Aug 11, 2016
1 parent 56341e8 commit 40dfa63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ldp/error.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ def initialize message, diff
@diff = diff
end
end

ETagMismatch = PreconditionFailed # deprecation
end

0 comments on commit 40dfa63

Please sign in to comment.