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 UpdateVehicleError Source #
An HTTP error resulting from updating the description for a vehicle.
See: newUpdateVehicleError
smart constructor.
Instances
newUpdateVehicleError :: UpdateVehicleError Source #
Create a value of UpdateVehicleError
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:UpdateVehicleError'
, updateVehicleError_code
- The relevant HTTP error code (400+).
$sel:message:UpdateVehicleError'
, updateVehicleError_message
- A message associated with the error.
$sel:vehicleName:UpdateVehicleError'
, updateVehicleError_vehicleName
- The ID of the vehicle with the error.
updateVehicleError_code :: Lens' UpdateVehicleError (Maybe Int) Source #
The relevant HTTP error code (400+).
updateVehicleError_message :: Lens' UpdateVehicleError (Maybe Text) Source #
A message associated with the error.
updateVehicleError_vehicleName :: Lens' UpdateVehicleError (Maybe Text) Source #
The ID of the vehicle with the error.