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 ErrorDetails Source #
An object containing error details.
See: newErrorDetails
smart constructor.
Instances
newErrorDetails :: ErrorDetails Source #
Create a value of ErrorDetails
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:ErrorDetails'
, errorDetails_errorCode
- The error code for an error.
$sel:errorMessage:ErrorDetails'
, errorDetails_errorMessage
- The error message for an error.
errorDetails_errorCode :: Lens' ErrorDetails (Maybe Text) Source #
The error code for an error.
errorDetails_errorMessage :: Lens' ErrorDetails (Maybe Text) Source #
The error message for an error.