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 ErrorDetail Source #
Contains details about an error.
See: newErrorDetail
smart constructor.
Instances
newErrorDetail :: ErrorDetail Source #
Create a value of ErrorDetail
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:ErrorDetail'
, errorDetail_errorCode
- The code associated with this error.
$sel:errorMessage:ErrorDetail'
, errorDetail_errorMessage
- A message describing the error.
errorDetail_errorCode :: Lens' ErrorDetail (Maybe Text) Source #
The code associated with this error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A message describing the error.