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 #
Details about the 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 error code that identifies the type of error.
$sel:errorMessage:ErrorDetail'
, errorDetail_errorMessage
- The message for the error.
errorDetail_errorCode :: Lens' ErrorDetail (Maybe Text) Source #
The error code that identifies the type of error.
errorDetail_errorMessage :: Lens' ErrorDetail (Maybe Text) Source #
The message for the error.