Skip to content

Commit 0e14db6

Browse files
committed
Use typed throw
1 parent f02dc22 commit 0e14db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GateEngine/System/Platforms/Platform Implementations/Apple/AppKit/AppKitPlatform.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public struct AppKitPlatform: PlatformProtocol, InternalPlatformProtocol {
102102
return nil
103103
}
104104

105-
public func synchronousLoadResource(from path: String) throws -> Data {
105+
public func synchronousLoadResource(from path: String) throws(GateEngineError) -> Data {
106106
if let resolvedPath = synchronousLocateResource(from: path) {
107107
do {
108108
return try synchronousFileSystem.read(from: resolvedPath)

0 commit comments

Comments
 (0)