Lines Matching refs:res

69 void success(crow::Response& res)  in success()  argument
71 addMessageToJsonRoot(res.jsonValue, success()); in success()
86 void generalError(crow::Response& res) in generalError() argument
88 res.result(boost::beast::http::status::internal_server_error); in generalError()
89 addMessageToErrorJson(res.jsonValue, generalError()); in generalError()
104 void created(crow::Response& res) in created() argument
106 res.result(boost::beast::http::status::created); in created()
107 addMessageToJsonRoot(res.jsonValue, created()); in created()
122 void noOperation(crow::Response& res) in noOperation() argument
124 res.result(boost::beast::http::status::bad_request); in noOperation()
125 addMessageToErrorJson(res.jsonValue, noOperation()); in noOperation()
141 void propertyDuplicate(crow::Response& res, std::string_view arg1) in propertyDuplicate() argument
143 res.result(boost::beast::http::status::bad_request); in propertyDuplicate()
144 addMessageToJson(res.jsonValue, propertyDuplicate(arg1), arg1); in propertyDuplicate()
160 void propertyUnknown(crow::Response& res, std::string_view arg1) in propertyUnknown() argument
162 res.result(boost::beast::http::status::bad_request); in propertyUnknown()
163 addMessageToErrorJson(res.jsonValue, propertyUnknown(arg1)); in propertyUnknown()
182 void propertyValueTypeError(crow::Response& res, const nlohmann::json& arg1, in propertyValueTypeError() argument
185 res.result(boost::beast::http::status::bad_request); in propertyValueTypeError()
186 addMessageToJson(res.jsonValue, propertyValueTypeError(arg1, arg2), arg2); in propertyValueTypeError()
205 void propertyValueFormatError(crow::Response& res, const nlohmann::json& arg1, in propertyValueFormatError() argument
208 res.result(boost::beast::http::status::bad_request); in propertyValueFormatError()
209 addMessageToJson(res.jsonValue, propertyValueFormatError(arg1, arg2), arg2); in propertyValueFormatError()
228 void propertyValueNotInList(crow::Response& res, const nlohmann::json& arg1, in propertyValueNotInList() argument
231 res.result(boost::beast::http::status::bad_request); in propertyValueNotInList()
232 addMessageToJson(res.jsonValue, propertyValueNotInList(arg1, arg2), arg2); in propertyValueNotInList()
251 void propertyValueOutOfRange(crow::Response& res, const nlohmann::json& arg1, in propertyValueOutOfRange() argument
254 res.result(boost::beast::http::status::bad_request); in propertyValueOutOfRange()
255 addMessageToErrorJson(res.jsonValue, propertyValueOutOfRange(arg1, arg2)); in propertyValueOutOfRange()
271 void propertyValueError(crow::Response& res, std::string_view arg1) in propertyValueError() argument
273 res.result(boost::beast::http::status::bad_request); in propertyValueError()
274 addMessageToJson(res.jsonValue, propertyValueError(arg1), arg1); in propertyValueError()
290 void propertyNotWritable(crow::Response& res, std::string_view arg1) in propertyNotWritable() argument
292 res.result(boost::beast::http::status::method_not_allowed); in propertyNotWritable()
293 addMessageToJson(res.jsonValue, propertyNotWritable(arg1), arg1); in propertyNotWritable()
309 void propertyNotUpdated(crow::Response& res, std::string_view arg1) in propertyNotUpdated() argument
311 res.result(boost::beast::http::status::bad_request); in propertyNotUpdated()
312 addMessageToErrorJson(res.jsonValue, propertyNotUpdated(arg1)); in propertyNotUpdated()
328 void propertyMissing(crow::Response& res, std::string_view arg1) in propertyMissing() argument
330 res.result(boost::beast::http::status::bad_request); in propertyMissing()
331 addMessageToJson(res.jsonValue, propertyMissing(arg1), arg1); in propertyMissing()
346 void malformedJSON(crow::Response& res) in malformedJSON() argument
348 res.result(boost::beast::http::status::bad_request); in malformedJSON()
349 addMessageToErrorJson(res.jsonValue, malformedJSON()); in malformedJSON()
366 void invalidJSON(crow::Response& res, uint64_t arg1) in invalidJSON() argument
368 res.result(boost::beast::http::status::bad_request); in invalidJSON()
369 addMessageToErrorJson(res.jsonValue, invalidJSON(arg1)); in invalidJSON()
384 void emptyJSON(crow::Response& res) in emptyJSON() argument
386 res.result(boost::beast::http::status::bad_request); in emptyJSON()
387 addMessageToErrorJson(res.jsonValue, emptyJSON()); in emptyJSON()
403 void actionNotSupported(crow::Response& res, std::string_view arg1) in actionNotSupported() argument
405 res.result(boost::beast::http::status::bad_request); in actionNotSupported()
406 addMessageToErrorJson(res.jsonValue, actionNotSupported(arg1)); in actionNotSupported()
423 void actionParameterMissing(crow::Response& res, std::string_view arg1, in actionParameterMissing() argument
426 res.result(boost::beast::http::status::bad_request); in actionParameterMissing()
427 addMessageToErrorJson(res.jsonValue, actionParameterMissing(arg1, arg2)); in actionParameterMissing()
444 void actionParameterDuplicate(crow::Response& res, std::string_view arg1, in actionParameterDuplicate() argument
447 res.result(boost::beast::http::status::bad_request); in actionParameterDuplicate()
448 addMessageToErrorJson(res.jsonValue, actionParameterDuplicate(arg1, arg2)); in actionParameterDuplicate()
465 void actionParameterUnknown(crow::Response& res, std::string_view arg1, in actionParameterUnknown() argument
468 res.result(boost::beast::http::status::bad_request); in actionParameterUnknown()
469 addMessageToErrorJson(res.jsonValue, actionParameterUnknown(arg1, arg2)); in actionParameterUnknown()
489 void actionParameterValueTypeError(crow::Response& res, in actionParameterValueTypeError() argument
493 res.result(boost::beast::http::status::bad_request); in actionParameterValueTypeError()
494 addMessageToErrorJson(res.jsonValue, in actionParameterValueTypeError()
516 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2, in actionParameterValueFormatError() argument
519 res.result(boost::beast::http::status::bad_request); in actionParameterValueFormatError()
520 addMessageToErrorJson(res.jsonValue, in actionParameterValueFormatError()
539 void actionParameterValueNotInList(crow::Response& res, std::string_view arg1, in actionParameterValueNotInList() argument
542 res.result(boost::beast::http::status::bad_request); in actionParameterValueNotInList()
543 addMessageToErrorJson(res.jsonValue, in actionParameterValueNotInList()
562 void actionParameterValueOutOfRange(crow::Response& res, std::string_view arg1, in actionParameterValueOutOfRange() argument
566 res.result(boost::beast::http::status::bad_request); in actionParameterValueOutOfRange()
567 addMessageToErrorJson(res.jsonValue, in actionParameterValueOutOfRange()
587 void actionParameterValueError(crow::Response& res, const nlohmann::json& arg1, in actionParameterValueError() argument
590 res.result(boost::beast::http::status::bad_request); in actionParameterValueError()
591 addMessageToErrorJson(res.jsonValue, actionParameterValueError(arg1, arg2)); in actionParameterValueError()
608 void actionParameterNotSupported(crow::Response& res, std::string_view arg1, in actionParameterNotSupported() argument
611 res.result(boost::beast::http::status::bad_request); in actionParameterNotSupported()
612 addMessageToErrorJson(res.jsonValue, in actionParameterNotSupported()
630 void arraySizeTooLong(crow::Response& res, std::string_view arg1, uint64_t arg2) in arraySizeTooLong() argument
632 res.result(boost::beast::http::status::bad_request); in arraySizeTooLong()
633 addMessageToErrorJson(res.jsonValue, arraySizeTooLong(arg1, arg2)); in arraySizeTooLong()
650 void arraySizeTooShort(crow::Response& res, std::string_view arg1, in arraySizeTooShort() argument
653 res.result(boost::beast::http::status::bad_request); in arraySizeTooShort()
654 addMessageToErrorJson(res.jsonValue, arraySizeTooShort(arg1, arg2)); in arraySizeTooShort()
675 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueTypeError() argument
677 res.result(boost::beast::http::status::bad_request); in queryParameterValueTypeError()
678 addMessageToErrorJson(res.jsonValue, in queryParameterValueTypeError()
700 crow::Response& res, const nlohmann::json& arg1, std::string_view arg2) in queryParameterValueFormatError() argument
702 res.result(boost::beast::http::status::bad_request); in queryParameterValueFormatError()
703 addMessageToErrorJson(res.jsonValue, in queryParameterValueFormatError()
720 void queryParameterValueError(crow::Response& res, std::string_view arg1) in queryParameterValueError() argument
722 res.result(boost::beast::http::status::bad_request); in queryParameterValueError()
723 addMessageToErrorJson(res.jsonValue, queryParameterValueError(arg1)); in queryParameterValueError()
740 void queryParameterOutOfRange(crow::Response& res, std::string_view arg1, in queryParameterOutOfRange() argument
743 res.result(boost::beast::http::status::bad_request); in queryParameterOutOfRange()
744 addMessageToErrorJson(res.jsonValue, in queryParameterOutOfRange()
761 void queryNotSupportedOnResource(crow::Response& res) in queryNotSupportedOnResource() argument
763 res.result(boost::beast::http::status::bad_request); in queryNotSupportedOnResource()
764 addMessageToErrorJson(res.jsonValue, queryNotSupportedOnResource()); in queryNotSupportedOnResource()
780 void queryNotSupportedOnOperation(crow::Response& res) in queryNotSupportedOnOperation() argument
782 res.result(boost::beast::http::status::bad_request); in queryNotSupportedOnOperation()
783 addMessageToErrorJson(res.jsonValue, queryNotSupportedOnOperation()); in queryNotSupportedOnOperation()
798 void queryNotSupported(crow::Response& res) in queryNotSupported() argument
800 res.result(boost::beast::http::status::bad_request); in queryNotSupported()
801 addMessageToErrorJson(res.jsonValue, queryNotSupported()); in queryNotSupported()
817 void queryCombinationInvalid(crow::Response& res) in queryCombinationInvalid() argument
819 res.result(boost::beast::http::status::bad_request); in queryCombinationInvalid()
820 addMessageToErrorJson(res.jsonValue, queryCombinationInvalid()); in queryCombinationInvalid()
836 void queryParameterUnsupported(crow::Response& res, std::string_view arg1) in queryParameterUnsupported() argument
838 res.result(boost::beast::http::status::bad_request); in queryParameterUnsupported()
839 addMessageToErrorJson(res.jsonValue, queryParameterUnsupported(arg1)); in queryParameterUnsupported()
854 void sessionLimitExceeded(crow::Response& res) in sessionLimitExceeded() argument
856 res.result(boost::beast::http::status::service_unavailable); in sessionLimitExceeded()
857 addMessageToErrorJson(res.jsonValue, sessionLimitExceeded()); in sessionLimitExceeded()
873 void eventSubscriptionLimitExceeded(crow::Response& res) in eventSubscriptionLimitExceeded() argument
875 res.result(boost::beast::http::status::service_unavailable); in eventSubscriptionLimitExceeded()
876 addMessageToErrorJson(res.jsonValue, eventSubscriptionLimitExceeded()); in eventSubscriptionLimitExceeded()
892 void resourceCannotBeDeleted(crow::Response& res) in resourceCannotBeDeleted() argument
894 res.result(boost::beast::http::status::method_not_allowed); in resourceCannotBeDeleted()
895 addMessageToErrorJson(res.jsonValue, resourceCannotBeDeleted()); in resourceCannotBeDeleted()
910 void resourceInUse(crow::Response& res) in resourceInUse() argument
912 res.result(boost::beast::http::status::service_unavailable); in resourceInUse()
913 addMessageToErrorJson(res.jsonValue, resourceInUse()); in resourceInUse()
930 void resourceAlreadyExists(crow::Response& res, std::string_view arg1, in resourceAlreadyExists() argument
933 res.result(boost::beast::http::status::bad_request); in resourceAlreadyExists()
934 addMessageToJson(res.jsonValue, resourceAlreadyExists(arg1, arg2, arg3), in resourceAlreadyExists()
952 void resourceNotFound(crow::Response& res, std::string_view arg1, in resourceNotFound() argument
955 res.result(boost::beast::http::status::not_found); in resourceNotFound()
956 addMessageToErrorJson(res.jsonValue, resourceNotFound(arg1, arg2)); in resourceNotFound()
971 void payloadTooLarge(crow::Response& res) in payloadTooLarge() argument
973 res.result(boost::beast::http::status::bad_request); in payloadTooLarge()
974 addMessageToErrorJson(res.jsonValue, payloadTooLarge()); in payloadTooLarge()
989 void insufficientStorage(crow::Response& res) in insufficientStorage() argument
991 res.result(boost::beast::http::status::insufficient_storage); in insufficientStorage()
992 addMessageToErrorJson(res.jsonValue, insufficientStorage()); in insufficientStorage()
1007 void missingOrMalformedPart(crow::Response& res) in missingOrMalformedPart() argument
1009 res.result(boost::beast::http::status::bad_request); in missingOrMalformedPart()
1010 addMessageToErrorJson(res.jsonValue, missingOrMalformedPart()); in missingOrMalformedPart()
1026 void invalidURI(crow::Response& res, std::string_view arg1) in invalidURI() argument
1028 res.result(boost::beast::http::status::bad_request); in invalidURI()
1029 addMessageToErrorJson(res.jsonValue, invalidURI(arg1)); in invalidURI()
1046 void createFailedMissingReqProperties(crow::Response& res, in createFailedMissingReqProperties() argument
1049 res.result(boost::beast::http::status::bad_request); in createFailedMissingReqProperties()
1050 addMessageToJson(res.jsonValue, createFailedMissingReqProperties(arg1), in createFailedMissingReqProperties()
1067 void createLimitReachedForResource(crow::Response& res) in createLimitReachedForResource() argument
1069 res.result(boost::beast::http::status::bad_request); in createLimitReachedForResource()
1070 addMessageToErrorJson(res.jsonValue, createLimitReachedForResource()); in createLimitReachedForResource()
1085 void serviceShuttingDown(crow::Response& res) in serviceShuttingDown() argument
1087 res.result(boost::beast::http::status::service_unavailable); in serviceShuttingDown()
1088 addMessageToErrorJson(res.jsonValue, serviceShuttingDown()); in serviceShuttingDown()
1103 void serviceInUnknownState(crow::Response& res) in serviceInUnknownState() argument
1105 res.result(boost::beast::http::status::service_unavailable); in serviceInUnknownState()
1106 addMessageToErrorJson(res.jsonValue, serviceInUnknownState()); in serviceInUnknownState()
1121 void noValidSession(crow::Response& res) in noValidSession() argument
1123 res.result(boost::beast::http::status::forbidden); in noValidSession()
1124 addMessageToErrorJson(res.jsonValue, noValidSession()); in noValidSession()
1139 void insufficientPrivilege(crow::Response& res) in insufficientPrivilege() argument
1141 res.result(boost::beast::http::status::forbidden); in insufficientPrivilege()
1142 addMessageToErrorJson(res.jsonValue, insufficientPrivilege()); in insufficientPrivilege()
1157 void accountModified(crow::Response& res) in accountModified() argument
1159 res.result(boost::beast::http::status::ok); in accountModified()
1160 addMessageToErrorJson(res.jsonValue, accountModified()); in accountModified()
1175 void accountNotModified(crow::Response& res) in accountNotModified() argument
1177 res.result(boost::beast::http::status::bad_request); in accountNotModified()
1178 addMessageToErrorJson(res.jsonValue, accountNotModified()); in accountNotModified()
1193 void accountRemoved(crow::Response& res) in accountRemoved() argument
1195 res.result(boost::beast::http::status::ok); in accountRemoved()
1196 addMessageToJsonRoot(res.jsonValue, accountRemoved()); in accountRemoved()
1212 void accountForSessionNoLongerExists(crow::Response& res) in accountForSessionNoLongerExists() argument
1214 res.result(boost::beast::http::status::forbidden); in accountForSessionNoLongerExists()
1215 addMessageToErrorJson(res.jsonValue, accountForSessionNoLongerExists()); in accountForSessionNoLongerExists()
1231 void invalidObject(crow::Response& res, const boost::urls::url_view_base& arg1) in invalidObject() argument
1233 res.result(boost::beast::http::status::bad_request); in invalidObject()
1234 addMessageToErrorJson(res.jsonValue, invalidObject(arg1)); in invalidObject()
1249 void internalError(crow::Response& res, const std::source_location location) in internalError() argument
1254 res.result(boost::beast::http::status::internal_server_error); in internalError()
1255 addMessageToErrorJson(res.jsonValue, internalError()); in internalError()
1271 void unrecognizedRequestBody(crow::Response& res) in unrecognizedRequestBody() argument
1273 res.result(boost::beast::http::status::bad_request); in unrecognizedRequestBody()
1274 addMessageToErrorJson(res.jsonValue, unrecognizedRequestBody()); in unrecognizedRequestBody()
1291 void resourceMissingAtURI(crow::Response& res, in resourceMissingAtURI() argument
1294 res.result(boost::beast::http::status::bad_request); in resourceMissingAtURI()
1295 addMessageToErrorJson(res.jsonValue, resourceMissingAtURI(arg1)); in resourceMissingAtURI()
1313 void resourceAtUriInUnknownFormat(crow::Response& res, in resourceAtUriInUnknownFormat() argument
1316 res.result(boost::beast::http::status::bad_request); in resourceAtUriInUnknownFormat()
1317 addMessageToErrorJson(res.jsonValue, resourceAtUriInUnknownFormat(arg1)); in resourceAtUriInUnknownFormat()
1334 void resourceAtUriUnauthorized(crow::Response& res, in resourceAtUriUnauthorized() argument
1338 res.result(boost::beast::http::status::unauthorized); in resourceAtUriUnauthorized()
1339 addMessageToErrorJson(res.jsonValue, resourceAtUriUnauthorized(arg1, arg2)); in resourceAtUriUnauthorized()
1356 void couldNotEstablishConnection(crow::Response& res, in couldNotEstablishConnection() argument
1359 res.result(boost::beast::http::status::not_found); in couldNotEstablishConnection()
1360 addMessageToErrorJson(res.jsonValue, couldNotEstablishConnection(arg1)); in couldNotEstablishConnection()
1378 void sourceDoesNotSupportProtocol(crow::Response& res, in sourceDoesNotSupportProtocol() argument
1382 res.result(boost::beast::http::status::bad_request); in sourceDoesNotSupportProtocol()
1383 addMessageToErrorJson(res.jsonValue, in sourceDoesNotSupportProtocol()
1400 void accessDenied(crow::Response& res, const boost::urls::url_view_base& arg1) in accessDenied() argument
1402 res.result(boost::beast::http::status::forbidden); in accessDenied()
1403 addMessageToErrorJson(res.jsonValue, accessDenied(arg1)); in accessDenied()
1420 void serviceTemporarilyUnavailable(crow::Response& res, std::string_view arg1) in serviceTemporarilyUnavailable() argument
1422 res.addHeader(boost::beast::http::field::retry_after, arg1); in serviceTemporarilyUnavailable()
1423 res.result(boost::beast::http::status::service_unavailable); in serviceTemporarilyUnavailable()
1424 addMessageToErrorJson(res.jsonValue, serviceTemporarilyUnavailable(arg1)); in serviceTemporarilyUnavailable()
1441 void invalidIndex(crow::Response& res, uint64_t arg1) in invalidIndex() argument
1443 res.result(boost::beast::http::status::bad_request); in invalidIndex()
1444 addMessageToErrorJson(res.jsonValue, invalidIndex(arg1)); in invalidIndex()
1463 void propertyValueModified(crow::Response& res, std::string_view arg1, in propertyValueModified() argument
1466 res.result(boost::beast::http::status::ok); in propertyValueModified()
1467 addMessageToJson(res.jsonValue, propertyValueModified(arg1, arg2), arg1); in propertyValueModified()
1482 void resourceInStandby(crow::Response& res) in resourceInStandby() argument
1484 res.result(boost::beast::http::status::service_unavailable); in resourceInStandby()
1485 addMessageToErrorJson(res.jsonValue, resourceInStandby()); in resourceInStandby()
1501 void resourceExhaustion(crow::Response& res, std::string_view arg1) in resourceExhaustion() argument
1503 res.result(boost::beast::http::status::service_unavailable); in resourceExhaustion()
1504 addMessageToErrorJson(res.jsonValue, resourceExhaustion(arg1)); in resourceExhaustion()
1522 void stringValueTooLong(crow::Response& res, std::string_view arg1, in stringValueTooLong() argument
1525 res.result(boost::beast::http::status::bad_request); in stringValueTooLong()
1526 addMessageToErrorJson(res.jsonValue, stringValueTooLong(arg1, arg2)); in stringValueTooLong()
1544 void stringValueTooShort(crow::Response& res, std::string_view arg1, in stringValueTooShort() argument
1547 res.result(boost::beast::http::status::bad_request); in stringValueTooShort()
1548 addMessageToErrorJson(res.jsonValue, stringValueTooShort(arg1, arg2)); in stringValueTooShort()
1563 void sessionTerminated(crow::Response& res) in sessionTerminated() argument
1565 res.result(boost::beast::http::status::ok); in sessionTerminated()
1566 addMessageToJsonRoot(res.jsonValue, sessionTerminated()); in sessionTerminated()
1581 void subscriptionTerminated(crow::Response& res) in subscriptionTerminated() argument
1583 res.result(boost::beast::http::status::ok); in subscriptionTerminated()
1584 addMessageToJsonRoot(res.jsonValue, subscriptionTerminated()); in subscriptionTerminated()
1601 void resourceTypeIncompatible(crow::Response& res, std::string_view arg1, in resourceTypeIncompatible() argument
1604 res.result(boost::beast::http::status::bad_request); in resourceTypeIncompatible()
1605 addMessageToErrorJson(res.jsonValue, resourceTypeIncompatible(arg1, arg2)); in resourceTypeIncompatible()
1622 void passwordChangeRequired(crow::Response& res, in passwordChangeRequired() argument
1625 addMessageToErrorJson(res.jsonValue, passwordChangeRequired(arg1)); in passwordChangeRequired()
1642 void resetRequired(crow::Response& res, const boost::urls::url_view_base& arg1, in resetRequired() argument
1645 res.result(boost::beast::http::status::bad_request); in resetRequired()
1646 addMessageToErrorJson(res.jsonValue, resetRequired(arg1, arg2)); in resetRequired()
1663 void resetRecommended(crow::Response& res, std::string_view arg1, in resetRecommended() argument
1666 res.result(boost::beast::http::status::bad_request); in resetRecommended()
1667 addMessageToErrorJson(res.jsonValue, resetRecommended(arg1, arg2)); in resetRecommended()
1683 void chassisPowerStateOnRequired(crow::Response& res, std::string_view arg1) in chassisPowerStateOnRequired() argument
1685 res.result(boost::beast::http::status::bad_request); in chassisPowerStateOnRequired()
1686 addMessageToErrorJson(res.jsonValue, chassisPowerStateOnRequired(arg1)); in chassisPowerStateOnRequired()
1703 void chassisPowerStateOffRequired(crow::Response& res, std::string_view arg1) in chassisPowerStateOffRequired() argument
1705 res.result(boost::beast::http::status::bad_request); in chassisPowerStateOffRequired()
1706 addMessageToErrorJson(res.jsonValue, chassisPowerStateOffRequired(arg1)); in chassisPowerStateOffRequired()
1723 void propertyValueConflict(crow::Response& res, std::string_view arg1, in propertyValueConflict() argument
1726 res.result(boost::beast::http::status::bad_request); in propertyValueConflict()
1727 addMessageToErrorJson(res.jsonValue, propertyValueConflict(arg1, arg2)); in propertyValueConflict()
1748 void propertyValueResourceConflict(crow::Response& res, std::string_view arg1, in propertyValueResourceConflict() argument
1752 res.result(boost::beast::http::status::conflict); in propertyValueResourceConflict()
1753 addMessageToErrorJson(res.jsonValue, in propertyValueResourceConflict()
1774 void propertyValueExternalConflict(crow::Response& res, std::string_view arg1, in propertyValueExternalConflict() argument
1777 res.result(boost::beast::http::status::conflict); in propertyValueExternalConflict()
1778 addMessageToErrorJson(res.jsonValue, in propertyValueExternalConflict()
1798 void propertyValueIncorrect(crow::Response& res, std::string_view arg1, in propertyValueIncorrect() argument
1801 res.result(boost::beast::http::status::bad_request); in propertyValueIncorrect()
1802 addMessageToErrorJson(res.jsonValue, propertyValueIncorrect(arg1, arg2)); in propertyValueIncorrect()
1819 void resourceCreationConflict(crow::Response& res, in resourceCreationConflict() argument
1822 res.result(boost::beast::http::status::bad_request); in resourceCreationConflict()
1823 addMessageToErrorJson(res.jsonValue, resourceCreationConflict(arg1)); in resourceCreationConflict()
1841 void actionParameterValueConflict(crow::Response& res, std::string_view arg1, in actionParameterValueConflict() argument
1844 res.result(boost::beast::http::status::bad_request); in actionParameterValueConflict()
1845 addMessageToErrorJson(res.jsonValue, in actionParameterValueConflict()
1861 void maximumErrorsExceeded(crow::Response& res) in maximumErrorsExceeded() argument
1863 res.result(boost::beast::http::status::internal_server_error); in maximumErrorsExceeded()
1864 addMessageToErrorJson(res.jsonValue, maximumErrorsExceeded()); in maximumErrorsExceeded()
1879 void preconditionFailed(crow::Response& res) in preconditionFailed() argument
1881 res.result(boost::beast::http::status::precondition_failed); in preconditionFailed()
1882 addMessageToErrorJson(res.jsonValue, preconditionFailed()); in preconditionFailed()
1897 void preconditionRequired(crow::Response& res) in preconditionRequired() argument
1899 res.result(boost::beast::http::status::bad_request); in preconditionRequired()
1900 addMessageToErrorJson(res.jsonValue, preconditionRequired()); in preconditionRequired()
1916 void headerMissing(crow::Response& res, std::string_view arg1) in headerMissing() argument
1918 res.result(boost::beast::http::status::bad_request); in headerMissing()
1919 addMessageToErrorJson(res.jsonValue, headerMissing(arg1)); in headerMissing()
1935 void headerInvalid(crow::Response& res, std::string_view arg1) in headerInvalid() argument
1937 res.result(boost::beast::http::status::bad_request); in headerInvalid()
1938 addMessageToErrorJson(res.jsonValue, headerInvalid(arg1)); in headerInvalid()
1953 void operationFailed(crow::Response& res) in operationFailed() argument
1955 res.result(boost::beast::http::status::bad_gateway); in operationFailed()
1956 addMessageToErrorJson(res.jsonValue, operationFailed()); in operationFailed()
1971 void operationTimeout(crow::Response& res) in operationTimeout() argument
1973 res.result(boost::beast::http::status::internal_server_error); in operationTimeout()
1974 addMessageToErrorJson(res.jsonValue, operationTimeout()); in operationTimeout()
1989 void operationNotAllowed(crow::Response& res) in operationNotAllowed() argument
1991 res.result(boost::beast::http::status::method_not_allowed); in operationNotAllowed()
1992 addMessageToErrorJson(res.jsonValue, operationNotAllowed()); in operationNotAllowed()
2008 void undeterminedFault(crow::Response& res, std::string_view arg1) in undeterminedFault() argument
2010 res.result(boost::beast::http::status::bad_request); in undeterminedFault()
2011 addMessageToErrorJson(res.jsonValue, undeterminedFault(arg1)); in undeterminedFault()
2027 void conditionInRelatedResource(crow::Response& res) in conditionInRelatedResource() argument
2029 res.result(boost::beast::http::status::bad_request); in conditionInRelatedResource()
2030 addMessageToErrorJson(res.jsonValue, conditionInRelatedResource()); in conditionInRelatedResource()
2046 void restrictedRole(crow::Response& res, std::string_view arg1) in restrictedRole() argument
2048 res.result(boost::beast::http::status::forbidden); in restrictedRole()
2049 addMessageToErrorJson(res.jsonValue, restrictedRole(arg1)); in restrictedRole()
2065 void restrictedPrivilege(crow::Response& res, std::string_view arg1) in restrictedPrivilege() argument
2067 res.result(boost::beast::http::status::bad_request); in restrictedPrivilege()
2068 addMessageToErrorJson(res.jsonValue, restrictedPrivilege(arg1)); in restrictedPrivilege()
2084 void strictAccountTypes(crow::Response& res, std::string_view arg1) in strictAccountTypes() argument
2086 res.result(boost::beast::http::status::bad_request); in strictAccountTypes()
2087 addMessageToErrorJson(res.jsonValue, strictAccountTypes(arg1)); in strictAccountTypes()
2103 void propertyDeprecated(crow::Response& res, std::string_view arg1) in propertyDeprecated() argument
2105 res.result(boost::beast::http::status::bad_request); in propertyDeprecated()
2106 addMessageToErrorJson(res.jsonValue, propertyDeprecated(arg1)); in propertyDeprecated()
2122 void resourceDeprecated(crow::Response& res, std::string_view arg1) in resourceDeprecated() argument
2124 res.result(boost::beast::http::status::bad_request); in resourceDeprecated()
2125 addMessageToErrorJson(res.jsonValue, resourceDeprecated(arg1)); in resourceDeprecated()
2142 void propertyValueDeprecated(crow::Response& res, std::string_view arg1, in propertyValueDeprecated() argument
2145 res.result(boost::beast::http::status::bad_request); in propertyValueDeprecated()
2146 addMessageToErrorJson(res.jsonValue, propertyValueDeprecated(arg1, arg2)); in propertyValueDeprecated()
2162 void actionDeprecated(crow::Response& res, std::string_view arg1) in actionDeprecated() argument
2164 res.result(boost::beast::http::status::bad_request); in actionDeprecated()
2165 addMessageToErrorJson(res.jsonValue, actionDeprecated(arg1)); in actionDeprecated()
2182 void networkNameResolutionNotConfigured(crow::Response& res) in networkNameResolutionNotConfigured() argument
2184 res.result(boost::beast::http::status::bad_request); in networkNameResolutionNotConfigured()
2185 addMessageToErrorJson(res.jsonValue, networkNameResolutionNotConfigured()); in networkNameResolutionNotConfigured()
2202 void networkNameResolutionNotSupported(crow::Response& res) in networkNameResolutionNotSupported() argument
2204 res.result(boost::beast::http::status::bad_request); in networkNameResolutionNotSupported()
2205 addMessageToErrorJson(res.jsonValue, networkNameResolutionNotSupported()); in networkNameResolutionNotSupported()
2221 void serviceDisabled(crow::Response& res, std::string_view arg1) in serviceDisabled() argument
2223 res.result(boost::beast::http::status::service_unavailable); in serviceDisabled()
2224 addMessageToErrorJson(res.jsonValue, serviceDisabled(arg1)); in serviceDisabled()
2239 void eventBufferExceeded(crow::Response& res) in eventBufferExceeded() argument
2241 res.result(boost::beast::http::status::bad_request); in eventBufferExceeded()
2242 addMessageToErrorJson(res.jsonValue, eventBufferExceeded()); in eventBufferExceeded()
2258 void authenticationTokenRequired(crow::Response& res) in authenticationTokenRequired() argument
2260 res.result(boost::beast::http::status::bad_request); in authenticationTokenRequired()
2261 addMessageToErrorJson(res.jsonValue, authenticationTokenRequired()); in authenticationTokenRequired()
2277 void oneTimePasscodeSent(crow::Response& res, std::string_view arg1) in oneTimePasscodeSent() argument
2279 res.result(boost::beast::http::status::bad_request); in oneTimePasscodeSent()
2280 addMessageToErrorJson(res.jsonValue, oneTimePasscodeSent(arg1)); in oneTimePasscodeSent()
2296 void licenseRequired(crow::Response& res, std::string_view arg1) in licenseRequired() argument
2298 res.result(boost::beast::http::status::bad_request); in licenseRequired()
2299 addMessageToErrorJson(res.jsonValue, licenseRequired(arg1)); in licenseRequired()
2314 void propertyModified(crow::Response& res) in propertyModified() argument
2316 res.result(boost::beast::http::status::bad_request); in propertyModified()
2317 addMessageToErrorJson(res.jsonValue, propertyModified()); in propertyModified()
2334 void generateSecretKeyRequired(crow::Response& res, in generateSecretKeyRequired() argument
2337 res.result(boost::beast::http::status::forbidden); in generateSecretKeyRequired()
2338 addMessageToErrorJson(res.jsonValue, generateSecretKeyRequired(arg1)); in generateSecretKeyRequired()