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 RecordError Source #
The error code and description resulting from an operation.
See: newRecordError
smart constructor.
Instances
newRecordError :: RecordError Source #
Create a value of RecordError
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:RecordError'
, recordError_code
- The numeric value of the error.
$sel:description:RecordError'
, recordError_description
- The description of the error.
recordError_code :: Lens' RecordError (Maybe Text) Source #
The numeric value of the error.
recordError_description :: Lens' RecordError (Maybe Text) Source #
The description of the error.