aeson-schemas-1.3.2: Easily consume JSON data on-demand with type-safety

Safe HaskellSafe
LanguageHaskell2010

Data.Aeson.Schema.Utils.Invariant

Synopsis

Documentation

unreachable :: String -> a Source #

An error function to indicate that a branch is unreachable. Provides a useful error message if it ends up happening, pointing users to write a bug report.