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 ColumnError Source #
Encapsulates a column name that failed and the reason for failure.
See: newColumnError
smart constructor.
ColumnError' | |
|
Instances
newColumnError :: ColumnError Source #
Create a value of ColumnError
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:error:ColumnError'
, columnError_error
- An error message with the reason for the failure of an operation.
$sel:columnName:ColumnError'
, columnError_columnName
- The name of the column that failed.
columnError_error :: Lens' ColumnError (Maybe ErrorDetail) Source #
An error message with the reason for the failure of an operation.
columnError_columnName :: Lens' ColumnError (Maybe Text) Source #
The name of the column that failed.