Skip to content

Commit

Permalink
Updated POSIXError
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Apr 19, 2019
1 parent 64c90c4 commit 8be9720
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/BluetoothLinux/POSIXError.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ internal extension POSIXError {

self.init(_nsError: NSPOSIXError(code, function: function, file: file, line: line))
}
}

public extension POSIXError {

var debugInformation: String? {
return userInfo[NSPOSIXError.debugInformationKey] as? String
Expand Down

0 comments on commit 8be9720

Please sign in to comment.