| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Freckle.App.Env.Internal
Description
Internal Env machinery exposed for testing
Documentation
Environment parsing errors
Constructors
| UnsetError | A variable was not found, and no default was specified |
| InvalidError String | A variable was found, but it failed to parse |
Parse an Environment
Errors are accumulated into tuples mapping name to error.
Read a single environment variable's value
This will only ever fail with , since InvalidError is
handled before invoking any UnsetError.Reader