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 |
Documentation
data ErrorDetail Source #
Details about the error.
See: newErrorDetail
smart constructor.
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:detailedErrorCode:ErrorDetail'
, errorDetail_detailedErrorCode
- A detailed error code.
$sel:detailedErrorMessage:ErrorDetail'
, errorDetail_detailedErrorMessage
- A detailed error message.
errorDetail_detailedErrorCode :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error code.
errorDetail_detailedErrorMessage :: Lens' ErrorDetail (Maybe Text) Source #
A detailed error message.