| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AppSync.Types.ErrorDetail
Description
Synopsis
- data ErrorDetail = ErrorDetail' {}
- newErrorDetail :: ErrorDetail
- errorDetail_message :: Lens' ErrorDetail (Maybe Text)
Documentation
data ErrorDetail Source #
Contains the list of errors generated. When using JavaScript, this will apply to the request or response function evaluation.
See: newErrorDetail smart constructor.
Constructors
| ErrorDetail' | |
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:message:ErrorDetail', errorDetail_message - The error payload.
errorDetail_message :: Lens' ErrorDetail (Maybe Text) Source #
The error payload.