Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data StackError Source #
Describes a stack error.
See: newStackError
smart constructor.
StackError' | |
|
Instances
newStackError :: StackError Source #
Create a value of StackError
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:StackError'
, stackError_errorCode
- The error code.
$sel:errorMessage:StackError'
, stackError_errorMessage
- The error message.
stackError_errorCode :: Lens' StackError (Maybe StackErrorCode) Source #
The error code.
stackError_errorMessage :: Lens' StackError (Maybe Text) Source #
The error message.