Skip to content

Commit

Permalink
in which response handleError func is made public
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Jessup committed Mar 5, 2018
1 parent 36224dc commit 0a6aae5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/PerfectHTTP/TypedRoutes.swift
Expand Up @@ -87,8 +87,8 @@ public extension HTTPRequest {
}
}

private extension HTTPResponse {
func handleError(error: Error) {
extension HTTPResponse {
public func handleError(error: Error) {
do {
switch error {
case let error as HTTPResponseError:
Expand Down

0 comments on commit 0a6aae5

Please sign in to comment.