"""Generic error messages.""" ERROR_CODE_AUTHORIZATION = 'authorization_error' ERROR_CODE_BAD_REQUEST = 'bad_request' ERROR_CODE_BAD_GRASS_REQUEST = 'bad_grass_request_error' ERROR_CODE_NOT_FOUND = 'not_found' ERROR_CODE_MISSING_HEADER = 'missing_header_error' ERROR_MESSAGE_MISSING_GRASS_HEADERS = 'Missing Grass Headers' ERROR_MESSAGE_INCOMPLETE_GRASS_HEADERS = 'Incomplete Grass Headers' ERROR_MESSAGE_INVALID_GRASS_ACCOUNT_TYPE = 'Invalid Grass Account Type' ERROR_MESSAGE_FORBIDDEN_USER = 'User is forbidden' ERROR_MESSAGE_PRODUCT_ALREADY_CHECKED_OUT = 'Product is already checked out' ERROR_MESSAGE_PRODUCT_NOT_CHECKED_IN = 'Product {} is not checked in' ERROR_MESSAGE_PRODUCT_APPROVAL_NOT_FOUND = 'No release approval record found for product {}' ERROR_MESSAGE_MISSING_RELEASE_CORRECTION = 'Product has missing release correction' ERROR_MESSAGE_HISTORY_NOT_EXIST = \ 'Product {} was not delivered to any of the stores previously.' ERROR_MESSAGE_SELECTED_NOT_IN_HISTORY = \ 'Product {} was not delivered to any of the selected stores previously.' ERROR_MESSAGE_PRODUCT_NOT_FOUND = 'Requested product id {} not found.' ERROR_MESSAGE_VENDOR_NOT_SIGNED = 'Vendor is not signed.' INTERNAL_ERROR = 'internal_error' SUCCESS_CODE = 'ok' ERROR_DELETE_CORRECTION_NOT_ACTIVE = "Can't delete a release correction with a {} status" ERROR_DELETE_CORRECTION_WITH_APPROVAL = "Can't delete a release correction with a non rejected approval" ERROR_RELEASE_NOT_FOUND = 'Product not found for provided product id.'