Skip to content

Commit

Permalink
Merge pull request #25 from PerfectlySoft/access
Browse files Browse the repository at this point in the history
in which response handleError func is made public
  • Loading branch information
kjessup committed Mar 5, 2018
2 parents 36224dc + 0a6aae5 commit 532dbc9
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 532dbc9

Please sign in to comment.