Skip to content

Commit 6d98d1a

Browse files
committed
Add DirectoryNotFoundException and UnsupportedPlatformException
Resolves #33
1 parent 5276afc commit 6d98d1a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/difftastic.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ module Difftastic
1515
class ExecutableNotFoundException < StandardError
1616
end
1717

18+
class DirectoryNotFoundException < StandardError
19+
end
20+
21+
class UnsupportedPlatformException < StandardError
22+
end
23+
1824
def self.execute(command)
1925
`#{executable} #{command}`
2026
end

0 commit comments

Comments
 (0)