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 |
Synopsis
Documentation
data CreateVehicleError Source #
An HTTP error resulting from creating a vehicle.
See: newCreateVehicleError
smart constructor.
Instances
newCreateVehicleError :: CreateVehicleError Source #
Create a value of CreateVehicleError
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:CreateVehicleError'
, createVehicleError_code
- An HTTP error code.
$sel:message:CreateVehicleError'
, createVehicleError_message
- A description of the HTTP error.
$sel:vehicleName:CreateVehicleError'
, createVehicleError_vehicleName
- The ID of the vehicle with the error.
createVehicleError_code :: Lens' CreateVehicleError (Maybe Text) Source #
An HTTP error code.
createVehicleError_message :: Lens' CreateVehicleError (Maybe Text) Source #
A description of the HTTP error.
createVehicleError_vehicleName :: Lens' CreateVehicleError (Maybe Text) Source #
The ID of the vehicle with the error.