diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-03-03 17:12:29 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-03-03 17:12:29 +0100 |
| commit | e5bde183a5a44693a7d3cde72e8b40986ea03fad (patch) | |
| tree | d8ee0ba13c4e39fa0f276c6271a40a91734509a4 /lib/SlackBuilder/Trans.hs | |
| parent | 4c06ae274bfdb9844d71b51d8a71d8d7f0cf667e (diff) | |
| download | slackbuilder-e5bde183a5a44693a7d3cde72e8b40986ea03fad.tar.gz | |
Support extracting gzip on the fly
Diffstat (limited to 'lib/SlackBuilder/Trans.hs')
| -rw-r--r-- | lib/SlackBuilder/Trans.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/SlackBuilder/Trans.hs b/lib/SlackBuilder/Trans.hs index 4ee3668..8d1d5b6 100644 --- a/lib/SlackBuilder/Trans.hs +++ b/lib/SlackBuilder/Trans.hs @@ -16,8 +16,11 @@ import Control.Monad.IO.Class (MonadIO(..)) import Control.Monad.Catch (MonadCatch(..), MonadThrow(..)) import Control.Exception (Exception(..)) import System.FilePath ((</>)) +import Text.URI (URI) -newtype SlackBuilderException = UpdaterNotFound Text +data SlackBuilderException + = UpdaterNotFound Text + | HttpsUrlExpected URI deriving Show instance Exception SlackBuilderException |
