| 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.ConnectCases.Types.FieldError
Description
Synopsis
- data FieldError = FieldError' {}
- newFieldError :: Text -> Text -> FieldError
- fieldError_message :: Lens' FieldError (Maybe Text)
- fieldError_errorCode :: Lens' FieldError Text
- fieldError_id :: Lens' FieldError Text
Documentation
data FieldError Source #
Object for errors on fields.
See: newFieldError smart constructor.
Constructors
| FieldError' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> FieldError |
Create a value of FieldError 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:FieldError', fieldError_message - The error message from getting a field.
$sel:errorCode:FieldError', fieldError_errorCode - The error code from getting a field.
$sel:id:FieldError', fieldError_id - The field identifier that caused the error.
fieldError_message :: Lens' FieldError (Maybe Text) Source #
The error message from getting a field.
fieldError_errorCode :: Lens' FieldError Text Source #
The error code from getting a field.
fieldError_id :: Lens' FieldError Text Source #
The field identifier that caused the error.