Debian Codegraph @

lib/unsupported-os/Web/Browser/OS.hs

raw
1 --------------------------------------------------------------------------------
2 -- For unsupported operating systems
3 --------------------------------------------------------------------------------
4
5 module Web.Browser.OS
6 ( openBrowserWithExitCode
7 ) where
8
9 import System.Exit ( ExitCode (..) )
10
11 openBrowserWithExitCode ::
12 String
13 -- ^ URL or other item to try to open.
14 -> IO (ExitCode, String, String)
15 openBrowserWithExitCode =
16 -- Operation never succeeds
17 const (pure (ExitFailure 1, "", "Unsupported operating system."))