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 |
Documentation
data DetailedError Source #
Contains detailed error information.
See: newDetailedError
smart constructor.
DetailedError' | |
|
Instances
Create a value of DetailedError
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:code:DetailedError'
, detailedError_code
- The error code.
$sel:message:DetailedError'
, detailedError_message
- The error message.
detailedError_code :: Lens' DetailedError DetailedErrorCode Source #
The error code.
detailedError_message :: Lens' DetailedError Text Source #
The error message.