Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data EnvironmentError Source #
Error messages for environment variables that couldn't be applied.
See: newEnvironmentError
smart constructor.
Instances
newEnvironmentError :: EnvironmentError Source #
Create a value of EnvironmentError
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:errorCode:EnvironmentError'
, environmentError_errorCode
- The error code.
$sel:message:EnvironmentError'
, environmentError_message
- The error message.
environmentError_errorCode :: Lens' EnvironmentError (Maybe Text) Source #
The error code.
environmentError_message :: Lens' EnvironmentError (Maybe Text) Source #
The error message.