Skip to content

Commit

Permalink
include the root error if one exists
Browse files Browse the repository at this point in the history
  • Loading branch information
proskd authored and JoeMatt committed Nov 22, 2024
1 parent 1d7e922 commit b73bb77
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public enum GameImporterError: Error, Sendable {
return "Unsupported System"
case .systemNotDetermined:
return "Failed to determine system"
case .failedToMoveCDROM(_):
return "Failed to move CDROM files"
case .failedToMoveROM(_):
return "Failed to move ROM files"
case .failedToMoveCDROM(let error):
return "Failed to move CDROM files: \(error.localizedDescription)"
case .failedToMoveROM(let error):
return "Failed to move ROM files: \(error.localizedDescription)"
case .unsupportedFile:
return "Unsupported File type"
case .noBIOSMatchForBIOSFileType:
Expand Down

0 comments on commit b73bb77

Please sign in to comment.