lib/pgit/pivotal_request_validator.rb in pgit-0.0.4 vs lib/pgit/pivotal_request_validator.rb in pgit-1.0.0
- old
+ new
@@ -10,10 +10,10 @@
private
def validate
if kind_error? || no_kind?
- raise PGit::ExternalError.new(@request)
+ raise PGit::Error::External.new(@request)
end
end
def kind_error?
@request.match(/"kind": "error"/)