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 #
Contains the details of an IoT SiteWise error.
See: newErrorDetails
smart constructor.
Instances
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:details:ErrorDetails'
, errorDetails_details
- A list of detailed errors.
$sel:code:ErrorDetails'
, errorDetails_code
- The error code.
$sel:message:ErrorDetails'
, errorDetails_message
- The error message.
errorDetails_details :: Lens' ErrorDetails (Maybe [DetailedError]) Source #
A list of detailed errors.
errorDetails_code :: Lens' ErrorDetails ErrorCode Source #
The error code.
errorDetails_message :: Lens' ErrorDetails Text Source #
The error message.