lsserver¶
lsserver.advanced_reporting.advanced_reporting_cannot_enable¶
-
exception
lsserver.advanced_reporting.uploader.
ARCannotEnableError
Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.advanced_reporting.uploader.AdvancedReportingError
HTTP code: 406 Not AcceptableLocalized Key: lsserver.advanced_reporting.advanced_reporting_cannot_enableExample: This service cannot be enabled at this time.-
type
= u'lsserver.advanced_reporting.advanced_reporting_cannot_enable'
-
localizable_message
= <LocalizableMessage key='lsserver.advanced_reporting.advanced_reporting_cannot_enable' ...>
-
lsserver.apple_care_connect.apple_care_connect_authorization_error¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareGatewayAuthorizationError
(message, caused_by_error) Bases:
lscore.errors.server_errors.BadGatewayError
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 502 Bad GatewayExample: Apple Care Connect Authorization Error: None-
type
= u'lsserver.apple_care_connect.apple_care_connect_authorization_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_authorization_error' ...>
-
lsserver.apple_care_connect.apple_care_connect_certificate_info_not_found¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectCertificateInfoNotFound
Bases:
lscore.errors.server_errors.NotFound
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 404 Not FoundExample: Some or all certificate info is missing-
type
= u'lsserver.apple_care_connect.apple_care_connect_certificate_info_not_found'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_certificate_info_not_found' ...>
-
lsserver.apple_care_connect.apple_care_connect_certificate_mismatch¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectCertificateMismatch
Bases:
lscore.errors.server_errors.Forbidden
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 403 ForbiddenExample: The specified certificate and private key are not matched together.-
type
= u'lsserver.apple_care_connect.apple_care_connect_certificate_mismatch'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_certificate_mismatch' ...>
-
lsserver.apple_care_connect.apple_care_connect_communication_error¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareGatewayCommunicationError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadGatewayError
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 502 Bad GatewayExample: Apple Care Connect Communication Error.-
type
= u'lsserver.apple_care_connect.apple_care_connect_communication_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_communication_error' ...>
-
lsserver.apple_care_connect.apple_care_connect_general_failure¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareGeneralFailure
(action=None, message=None, caused_by_error=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 403 ForbiddenExample: Unexpected error communiting with apple during ‘None’: None-
type
= u'lsserver.apple_care_connect.apple_care_connect_general_failure'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_general_failure' ...>
-
lsserver.apple_care_connect.apple_care_connect_no_user_id¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectNoUserID
(message=None, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 403 ForbiddenLocalized Key: lsserver.apple_care_connect.apple_care_connect_no_user_idExample: The current user does not have an Apple ID set for Apple Care Connect.-
type
= u'lsserver.apple_care_connect.apple_care_connect_no_user_id'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_no_user_id' ...>
-
lsserver.apple_care_connect.apple_care_connect_session_not_found¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectSessionNotFound
(session_id) Bases:
lscore.errors.server_errors.NotFound
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 404 Not FoundExample: Apple Care Connect Session [None] not found-
type
= u'lsserver.apple_care_connect.apple_care_connect_session_not_found'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_session_not_found' ...>
-
lsserver.apple_care_connect.apple_care_connect_timeout_error¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareGatewayTimeoutError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadGatewayError
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 502 Bad GatewayLocalized Key: lsserver.apple_care_connect.apple_care_connect_timeout_errorExample: Apple Care Connect Communication Timeout Error.-
type
= u'lsserver.apple_care_connect.apple_care_connect_timeout_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_timeout_error' ...>
-
lsserver.apple_care_connect.apple_care_connect_url_not_recognized¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectURLNotRecognized
(host_name, *args, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 403 ForbiddenExample: The URL’host: None is not recognized. It must come from a previous Apple Care Connect response.-
type
= u'lsserver.apple_care_connect.apple_care_connect_url_not_recognized'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.apple_care_connect_url_not_recognized' ...>
-
lsserver.apple_care_connect.certificate_private_key_data_error¶
-
exception
lsserver.apple_care_connect.errors.
UnableToReadCertificatePrivateKeyData
(message=None, **kwargs) Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.apple_care_connect.errors.AppleCareConnectSettingsError
HTTP code: 406 Not AcceptableExample: Unable to read the certificate/private key data-
type
= u'lsserver.apple_care_connect.certificate_private_key_data_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.certificate_private_key_data_error' ...>
-
lsserver.apple_care_connect.missing_required_field¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectMissingRequiredField
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.apple_care_connect.errors.AppleCareConnectError
HTTP code: 400 Bad RequestLocalized Key: lsserver.apple_care_connect.missing_required_fieldExample: A required field is missing in the request.-
type
= u'lsserver.apple_care_connect.missing_required_field'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.missing_required_field' ...>
-
lsserver.apple_care_connect.outcome_error¶
-
exception
lsserver.apple_care_connect.errors.
AppleCareConnectOutcomeError
(action, outcome, message) Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.apple_care_connect.errors.AppleCareConnectSessionError
HTTP code: 406 Not AcceptableLocalized Key: lsserver.apple_care_connect.outcome_errorExample: Unexpected outcome ‘None’ for action ‘None’: None-
type
= u'lsserver.apple_care_connect.outcome_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.outcome_error' ...>
-
lsserver.apple_care_connect.password_protected_private_key_error¶
-
exception
lsserver.apple_care_connect.errors.
PasswordProtectedPrivateKey
(message=None, **kwargs) Bases:
lsserver.apple_care_connect.errors.UnableToReadCertificatePrivateKeyData
HTTP code: 406 Not AcceptableExample: Password protected private key detected.-
type
= u'lsserver.apple_care_connect.password_protected_private_key_error'
-
localizable_message
= <LocalizableMessage key='lsserver.apple_care_connect.password_protected_private_key_error' ...>
-
lsserver.core.predicate_evaluator.invalid_query¶
-
exception
lsserver.core.predicate_evaluator.nspp.
InvalidQuery
(query) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.core.predicate_evaluator.nspp.NSPPError
HTTP code: 400 Bad RequestLocalized Key: lsserver.core.predicate_evaluator.invalid_queryExample: Invalid query: “None”-
type
= 'lsserver.core.predicate_evaluator.invalid_query'
-
localizable_message
= <LocalizableMessage key='lsserver.core.predicate_evaluator.invalid_query' ...>
-
lsserver.core.predicate_evaluator.unknown_variable_error¶
-
exception
lsserver.core.predicate_evaluator.nspp.
UnknownVariableError
(unknown_variable) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.core.predicate_evaluator.nspp.NSPPError
HTTP code: 400 Bad RequestLocalized Key: lsserver.core.predicate_evaluator.unknown_variable_errorExample: Unknown ns predicate variable: None-
type
= 'lsserver.core.predicate_evaluator.unknown_variable_error'
-
localizable_message
= <LocalizableMessage key='lsserver.core.predicate_evaluator.unknown_variable_error' ...>
-
lsserver.dashboards.invalid_operation_hours¶
-
exception
lsserver.dashboards.widget_templates.sales_by_hour.
InvalidOperationHours
Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.dashboards.widget_templates.sales_by_hour.OptionError
HTTP code: 406 Not AcceptableLocalized Key: lsserver.dashboards.invalid_operation_hoursExample: Starting time must be smaller than closing time-
type
= 'lsserver.dashboards.invalid_operation_hours'
-
localizable_message
= <LocalizableMessage key='lsserver.dashboards.invalid_operation_hours' ...>
-
lsserver.data_export.advanced_plus_error¶
-
exception
lsserver.data_export.errors.
DataExportAdvancedPlusError
(message=None, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.Forbidden
HTTP code: 403 ForbiddenLocalized Key: lsserver.data_export.advanced_plus_errorExample: Data export is only supported for advanced plus clients.-
type
= u'lsserver.data_export.advanced_plus_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.advanced_plus_error' ...>
-
lsserver.data_export.already_in_progress_error¶
-
exception
lsserver.data_export.errors.
DataExportAlreadyInProgressError
(message=None, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.already_in_progress_errorExample: A data export job is already in progress.-
type
= u'lsserver.data_export.already_in_progress_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.already_in_progress_error' ...>
-
lsserver.data_export.file_export_directory_error¶
-
exception
lsserver.data_export.errors.
DataExportFileExportDirectoryError
(export_path, *args, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.ServerError
HTTP code: 500 Internal Server ErrorLocalized Key: lsserver.data_export.file_export_directory_errorExample: Unable to create data export folder in directory [None]. Please double check the existence and permissions of the directory.-
type
= u'lsserver.data_export.file_export_directory_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.file_export_directory_error' ...>
-
lsserver.data_export.invalid_lief_version_error¶
-
exception
lsserver.data_export.errors.
DataExportInvalidLiefVersionError
(invalid_lief_version, minimum_lief_version) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.invalid_lief_version_errorExample: Lief version [None] is smaller than the minimum supported version [None].-
type
= u'lsserver.data_export.invalid_lief_version_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.invalid_lief_version_error' ...>
-
lsserver.data_export.invalid_records_per_file_error¶
-
exception
lsserver.data_export.errors.
DataExportInvalidRecordsPerFileError
(export_name, records_per_file) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.invalid_records_per_file_errorExample: [None] records per file for export [None] is invalid.-
type
= u'lsserver.data_export.invalid_records_per_file_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.invalid_records_per_file_error' ...>
-
lsserver.data_export.invalid_start_end_error¶
-
exception
lsserver.data_export.errors.
DataExportInvalidStartEndError
(export_name, start_id, end_id) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.invalid_start_end_errorExample: Start id [None] is bigger than end id [None] for export [None].-
type
= u'lsserver.data_export.invalid_start_end_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.invalid_start_end_error' ...>
-
lsserver.data_export.invalid_state_to_cancel_error¶
-
exception
lsserver.data_export.errors.
DataExportInvalidStateToCancelError
(last_status, *args, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.invalid_state_to_cancel_errorExample: The data export job cannot be cancelled. The last status was [None].-
type
= u'lsserver.data_export.invalid_state_to_cancel_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.invalid_state_to_cancel_error' ...>
-
lsserver.data_export.not_absolute_path_error¶
-
exception
lsserver.data_export.errors.
DataExportNotAbsolutePathError
(export_path, *args, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.BadRequest
HTTP code: 400 Bad RequestLocalized Key: lsserver.data_export.not_absolute_path_errorExample: The requested export path [None] is not an absolute path.-
type
= u'lsserver.data_export.not_absolute_path_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.not_absolute_path_error' ...>
-
lsserver.data_export.not_found_error¶
-
exception
lsserver.data_export.errors.
DataExportNotFoundError
(resource=None, **kwargs) Bases:
lsserver.data_export.errors.DataExportError
,lscore.errors.server_errors.NotFound
HTTP code: 404 Not FoundLocalized Key: lsserver.data_export.not_found_errorExample: No data export job was run.-
type
= u'lsserver.data_export.not_found_error'
-
localizable_message
= <LocalizableMessage key='lsserver.data_export.not_found_error' ...>
-
lsserver.database.database_service.database_connection_error¶
-
exception
lsserver.database.database_service.
DatabaseConnectionError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.ServerError
,lsserver.database.database_service.DatabaseError
HTTP code: 500 Internal Server ErrorLocalized Key: server.server_errorExample: Generic server error: None-
type
= 'lsserver.database.database_service.database_connection_error'
-
lsserver.database.database_service.database_state_error¶
-
exception
lsserver.database.database_service.
DatabaseStateError
(caused_by_error) Bases:
lscore.errors.server_errors.ServerError
,lsserver.database.database_service.DatabaseError
HTTP code: 500 Internal Server ErrorLocalized Key: lsserver.database.database_service.database_state_errorExample: The current database connection pool is corrupted. Aborting and resetting. You may need to reconnect.-
type
= 'lsserver.database.database_service.database_state_error'
-
localizable_message
= <LocalizableMessage key='lsserver.database.database_service.database_state_error' ...>
-
lsserver.model.base.cannot_delete_document_with_payments_attached¶
-
exception
lsserver.model.base.
CannotDeleteDocumentWithPaymentsAttached
(message=None, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.model.base.QuoteError
Raised to indicate a document cannot be deleted when payments are attached
HTTP code: 403 ForbiddenExample: This document cannot be deleted with payments still attached.-
type
= u'lsserver.model.base.cannot_delete_document_with_payments_attached'
-
localizable_message
= <LocalizableMessage key='lsserver.model.base.cannot_delete_document_with_payments_attached' ...>
-
lsserver.multistore.preflight_check.preflight_check_condition_error¶
-
exception
lsserver.multistore.preflight_check.
PreFlightCheckConditionError
(duplicate_products=None, duplicate_suppliers=None) Bases:
lscore.errors.server_errors.ServerError
,lsserver.multistore.preflight_check.PreFlightCheckError
HTTP code: 500 Internal Server ErrorExample: Multistore Preflight Check failed: Duplicate products found in master store [None] Duplicate suppliers found in master store [None]-
type
= u'lsserver.multistore.preflight_check.preflight_check_condition_error'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.preflight_check.preflight_check_condition_error' ...>
-
lsserver.multistore.preflight_check.preflight_check_duplicate_error¶
-
exception
lsserver.multistore.preflight_check.
PreFlightCheckDuplicateError
(duplicate_products=None, duplicate_suppliers=None) Bases:
lscore.errors.server_errors.ServerError
,lsserver.multistore.preflight_check.PreFlightCheckError
HTTP code: 500 Internal Server ErrorExample: This store has the following duplicates: Duplicate Product Codes [None] Duplicate Supplier Names [None]-
type
= u'lsserver.multistore.preflight_check.preflight_check_duplicate_error'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.preflight_check.preflight_check_duplicate_error' ...>
-
lsserver.multistore.preflight_check.preflight_check_incompatible_error¶
-
exception
lsserver.multistore.preflight_check.
PreFlightCheckInCompatibleError
(version) Bases:
lscore.errors.server_errors.ServerError
,lsserver.multistore.preflight_check.PreFlightCheckError
HTTP code: 500 Internal Server ErrorExample: Multistore functionality incompatible with server version [None]-
type
= u'lsserver.multistore.preflight_check.preflight_check_incompatible_error'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.preflight_check.preflight_check_incompatible_error' ...>
-
lsserver.multistore.store.NoMasterStoreError¶
-
exception
lsserver.multistore.store.
NoMasterStoreError
Bases:
lscore.errors.server_errors.ServerError
,lsserver.multistore.store.MasterStoreError
HTTP code: 500 Internal Server ErrorLocalized Key: lsserver.multistore.store.no_master_store_errorExample: No master multistore found.-
type
= 'lsserver.multistore.store.NoMasterStoreError'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.store.no_master_store_error' ...>
-
lsserver.multistore.store.multiple_master_store_error¶
-
exception
lsserver.multistore.store.
MultipleMasterStoreError
Bases:
lscore.errors.server_errors.Forbidden
,lsserver.multistore.store.MasterStoreError
HTTP code: 403 ForbiddenLocalized Key: lsserver.multistore.store.multiple_master_store_errorExample: Cannot have more than one master stores.-
type
= 'lsserver.multistore.store.multiple_master_store_error'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.store.multiple_master_store_error' ...>
-
lsserver.multistore.synchronize.synchronize_unable_to_update_error¶
-
exception
lsserver.multistore.synchronize.
SynchronizeUnableToUpdateError
Bases:
lscore.errors.server_errors.UnexpectedError
,lsserver.multistore.synchronize.SynchronizeError
HTTP code: 500 Internal Server ErrorExample: Synchronization failed and is rolling back due to locked resource-
type
= u'lsserver.multistore.synchronize.synchronize_unable_to_update_error'
-
localizable_message
= <LocalizableMessage key='lsserver.multistore.synchronize.synchronize_unable_to_update_error' ...>
-
lsserver.notifications.insufficient_privileges_for_delete¶
-
exception
lsserver.notifications.notifications.
InsufficientPrivilegesForDelete
(message=None, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.notifications.notifications.NotificationError
Indicates that the user doesn’t have sufficient privileges to delete this item.
HTTP code: 403 ForbiddenLocalized Key: lsserver.notifications.insufficient_privileges_for_deleteExample: You do not have sufficient privileges to perform this action-
type
= 'lsserver.notifications.insufficient_privileges_for_delete'
-
localizable_message
= <LocalizableMessage key='lsserver.notifications.insufficient_privileges_for_delete' ...>
-
lsserver.notifications.unable_to_dismiss_all¶
-
exception
lsserver.notifications.notification_resources.
UnableToDismissAllNotificaitons
(message=None, **kwargs) Bases:
lscore.errors.server_errors.ServerError
HTTP code: 500 Internal Server ErrorLocalized Key: lsserver.notifications.unable_to_dismiss_allExample: Unable to dismiss all notifications-
type
= 'lsserver.notifications.unable_to_dismiss_all'
-
localizable_message
= <LocalizableMessage key='lsserver.notifications.unable_to_dismiss_all' ...>
-
lsserver.parked_items.errors.duplicate_parked_item¶
-
exception
lsserver.parked_items.parked_items.
DuplicateParkedItemError
(type=None, type_id=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.parked_items.parked_items.ParkedItemError
HTTP code: 400 Bad RequestLocalized Key: lsserver.parked_items.errors.duplicate_parked_itemExample: Duplicate parked item [] with id [] for user.-
type
= 'lsserver.parked_items.errors.duplicate_parked_item'
-
localizable_message
= <LocalizableMessage key='lsserver.parked_items.errors.duplicate_parked_item' ...>
-
lsserver.parked_items.errors.invalid_type_error¶
-
exception
lsserver.parked_items.parked_items.
InvalidTypeError
(type=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.parked_items.parked_items.ParkedItemError
HTTP code: 400 Bad RequestLocalized Key: lsserver.parked_items.errors.invalid_type_errorExample: Invalid parked item type []-
type
= 'lsserver.parked_items.errors.invalid_type_error'
-
localizable_message
= <LocalizableMessage key='lsserver.parked_items.errors.invalid_type_error' ...>
-
lsserver.parked_items.errors.parked_item_not_owner¶
-
exception
lsserver.parked_items.parked_items.
ParkedItemNotOwner
(parked_item_id) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.parked_items.parked_items.ParkedItemError
HTTP code: 403 ForbiddenLocalized Key: lsserver.parked_items.errors.parked_item_not_ownerExample: You are not the owner to this parked item (None-
type
= 'lsserver.parked_items.errors.parked_item_not_owner'
-
localizable_message
= <LocalizableMessage key='lsserver.parked_items.errors.parked_item_not_owner' ...>
-
lsserver.payment_gateway.payment_card_issuer.invalid_payment_method_type¶
-
exception
lsserver.payment_gateway.payment_card_issuer.
InvalidPaymentMethodType
(*args, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.payment_gateway.payment_card_issuer.PaymentCardIssuerError
HTTP code: 400 Bad RequestExample: Can only assign credit or debit card payment methods to the card issuer-
type
= 'lsserver.payment_gateway.payment_card_issuer.invalid_payment_method_type'
-
localizable_message
= <LocalizableMessage key='lsserver.payment_gateway.payment_card_issuer.invalid_payment_method_type' ...>
-
lsserver.pole_display.is_busy¶
-
exception
lsserver.pole_display.base.
PoleDisplayIsBusyError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.pole_display.base.PoleDisplayError
HTTP code: 403 ForbiddenLocalized Key: lsserver.pole_display.is_busyExample: The pole display is busy processing previous requests.-
type
= u'lsserver.pole_display.is_busy'
-
localizable_message
= <LocalizableMessage key='lsserver.pole_display.is_busy' ...>
-
lsserver.ratatosk.ratatosk_cannot_enable¶
-
exception
lsserver.ratatosk.errors.
RatatoskCannotEnableError
Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.ratatosk.errors.RATATOSKError
HTTP code: 406 Not AcceptableLocalized Key: lsserver.ratatosk.ratatosk_cannot_enableExample: This service cannot be enabled at this time.-
type
= u'lsserver.ratatosk.ratatosk_cannot_enable'
-
localizable_message
= <LocalizableMessage key='lsserver.ratatosk.ratatosk_cannot_enable' ...>
-
lsserver.ratatosk.ratatosk_inventory_reservations_disabled_error¶
-
exception
lsserver.ratatosk.errors.
RatatoskInventoryReservationsDisabledError
Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.ratatosk.errors.RATATOSKError
HTTP code: 406 Not AcceptableExample: Can not set reserve inventory on order download as company inventory reservations are disabled.-
type
= u'lsserver.ratatosk.ratatosk_inventory_reservations_disabled_error'
-
localizable_message
= <LocalizableMessage key='lsserver.ratatosk.ratatosk_inventory_reservations_disabled_error' ...>
-
lsserver.reporting.errors.report_error.empty_filter_range¶
-
exception
lsserver.reporting.report_base.
EmptyFilterRange
(filter) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the specified filter range field was empty
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.empty_filter_rangeExample: Filter None range is empty-
type
= 'lsserver.reporting.errors.report_error.empty_filter_range'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.empty_filter_range' ...>
-
lsserver.reporting.errors.report_error.empty_filter_value¶
-
exception
lsserver.reporting.report_base.
EmptyFilterValue
(filter) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the specified filter value field was empty
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.empty_filter_valueExample: Filter None value is empty-
type
= 'lsserver.reporting.errors.report_error.empty_filter_value'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.empty_filter_value' ...>
-
lsserver.reporting.errors.report_error.filter_max_affinity_exceeded¶
-
exception
lsserver.reporting.report_base.
FilterMaxAffinityExceeded
(filter, count) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the query has exceeded the maximum affinity for this filter
HTTP code: 400 Bad RequestExample: The max affinity for None was exceed by None-
type
= 'lsserver.reporting.errors.report_error.filter_max_affinity_exceeded'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.filter_max_affinity_exceeded' ...>
-
lsserver.reporting.errors.report_error.grouping_limit_exceeded¶
-
exception
lsserver.reporting.report_base.
GroupingLimitExceeded
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the query has more groupings than the report supports.
HTTP code: 400 Bad RequestExample: The report does not support the number of groupings in the query.-
type
= 'lsserver.reporting.errors.report_error.grouping_limit_exceeded'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.grouping_limit_exceeded' ...>
-
lsserver.reporting.errors.report_error.grouping_minimum_missing¶
-
exception
lsserver.reporting.report_base.
GroupingMinimumMissing
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the query doesn’t have the minimum number of groupings.
HTTP code: 400 Bad RequestExample: The report requires at least 1 summarized grouping.-
type
= 'lsserver.reporting.errors.report_error.grouping_minimum_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.grouping_minimum_missing' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_boolean¶
-
exception
lsserver.reporting.report_base.
InvalidFilterBoolean
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter boolean value is invalid.
HTTP code: 400 Bad RequestExample: Filter None boolean value is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_boolean'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_boolean' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_date¶
-
exception
lsserver.reporting.report_base.
InvalidFilterDate
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter date value is invalid.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_filter_dateExample: Filter None date is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_date'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_date' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_datetime¶
-
exception
lsserver.reporting.report_base.
InvalidFilterDatetime
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter datetime value is invalid.
HTTP code: 400 Bad RequestExample: Filter None datetime is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_datetime'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_datetime' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_decimal¶
-
exception
lsserver.reporting.report_base.
InvalidFilterDecimal
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter decimal value is invalid.
HTTP code: 400 Bad RequestExample: Filter None decimal value is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_decimal'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_decimal' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_int¶
-
exception
lsserver.reporting.report_base.
InvalidFilterInt
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter int value is invalid.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_filter_intExample: Filter None int value is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_int'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_int' ...>
-
lsserver.reporting.errors.report_error.invalid_filter_money¶
-
exception
lsserver.reporting.report_base.
InvalidFilterMoney
(filter, caused_by_error=None) Bases:
lsserver.reporting.report_base.ValidationError
The filter money value is invalid.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_filter_moneyExample: Filter None money value is invalid-
type
= 'lsserver.reporting.errors.report_error.invalid_filter_money'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_filter_money' ...>
-
lsserver.reporting.errors.report_error.invalid_grouping¶
-
exception
lsserver.reporting.report_base.
InvalidGrouping
(grouping) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that an invalid grouping option was specified. Such as specifying subtotal on a grouping that can’t be subtotalled.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_groupingExample: Invalid parameters specified for grouping None-
type
= 'lsserver.reporting.errors.report_error.invalid_grouping'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_grouping' ...>
-
lsserver.reporting.errors.report_error.invalid_operator¶
-
exception
lsserver.reporting.report_base.
InvalidOperator
(filter, operator) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_operatorExample: The operator None is invalid for filter None.-
type
= 'lsserver.reporting.errors.report_error.invalid_operator'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_operator' ...>
-
lsserver.reporting.errors.report_error.invalid_stores¶
-
exception
lsserver.reporting.report_base.
InvalidStores
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Stores added to non multi_store report query.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.invalid_storesExample: Cannot add stores to query as report is not multi_store type.-
type
= 'lsserver.reporting.errors.report_error.invalid_stores'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.invalid_stores' ...>
-
lsserver.reporting.errors.report_error.multistore_pro_disabled¶
-
exception
lsserver.reporting.report_base.
MultistoreProDisabledError
Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
The server license has multistore_pro_enabled == False
HTTP code: 400 Bad RequestExample: Multistore Pro is not enabled.-
type
= 'lsserver.reporting.errors.report_error.multistore_pro_disabled'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.multistore_pro_disabled' ...>
-
lsserver.reporting.errors.report_error.report_does_not_exist¶
-
exception
lsserver.reporting.report_base.
ReportDoesNotExistError
(invalid_report_name) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
HTTP code: 400 Bad RequestExample: Report [None] does not exist.-
type
= 'lsserver.reporting.errors.report_error.report_does_not_exist'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.resource_error.report_does_not_exist' ...>
-
lsserver.reporting.errors.report_error.report_not_summarizable¶
-
exception
lsserver.reporting.report_base.
ReportNotSummarizable
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a report run was requested with with the summarize option. However, the report does not allow it.
HTTP code: 400 Bad RequestExample: This report cannot be summarized.-
type
= 'lsserver.reporting.errors.report_error.report_not_summarizable'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.report_not_summarizable' ...>
-
lsserver.reporting.errors.report_error.required_query_columns_missing¶
-
exception
lsserver.reporting.report_base.
RequiredQueryColumnMissing
(columns) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a required column is missing.
HTTP code: 400 Bad RequestExample: Required columns None is missing-
type
= 'lsserver.reporting.errors.report_error.required_query_columns_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.required_query_columns_missing' ...>
-
lsserver.reporting.errors.report_error.required_query_filters_missing¶
-
exception
lsserver.reporting.report_base.
RequiredQueryFilterMissing
(filters) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a required filter is missing.
HTTP code: 400 Bad RequestExample: Required filters None is missing-
type
= 'lsserver.reporting.errors.report_error.required_query_filters_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.required_query_filters_missing' ...>
-
lsserver.reporting.errors.report_error.required_query_groupings_missing¶
-
exception
lsserver.reporting.report_base.
RequiredQueryGroupingMissing
(groupings) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a required grouping is missing.
HTTP code: 400 Bad RequestExample: Required groupings None is missing-
type
= 'lsserver.reporting.errors.report_error.required_query_groupings_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.required_query_groupings_missing' ...>
-
lsserver.reporting.errors.report_error.required_query_options_missing¶
-
exception
lsserver.reporting.report_base.
RequiredQueryOptionMissing
(options) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a required option is missing.
HTTP code: 400 Bad RequestExample: Required options None is missing-
type
= 'lsserver.reporting.errors.report_error.required_query_options_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.required_query_options_missing' ...>
-
lsserver.reporting.errors.report_error.summarize_missing¶
-
exception
lsserver.reporting.report_base.
SummarizeMissing
(message=None, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that a report run was requested with without the summarize option. However, the summarize option is required.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.summarize_missingExample: This report requires summarizing.-
type
= 'lsserver.reporting.errors.report_error.summarize_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.summarize_missing' ...>
-
lsserver.reporting.errors.report_error.unknown_query_column¶
-
exception
lsserver.reporting.report_base.
UnknownQueryColumn
(column) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that an unexpected column was set on a query.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.unknown_query_columnExample: Unknown column id None-
type
= 'lsserver.reporting.errors.report_error.unknown_query_column'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.unknown_query_column' ...>
-
lsserver.reporting.errors.report_error.unknown_query_filter¶
-
exception
lsserver.reporting.report_base.
UnknownQueryFilter
(filter) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that an unexpected filter was set on a query.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.unknown_query_filterExample: Unknown filter id None-
type
= 'lsserver.reporting.errors.report_error.unknown_query_filter'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.unknown_query_filter' ...>
-
lsserver.reporting.errors.report_error.unknown_query_grouping¶
-
exception
lsserver.reporting.report_base.
UnknownQueryGrouping
(grouping) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that an unexpected grouping was set on a query
HTTP code: 400 Bad RequestExample: Unknown grouping id None-
type
= 'lsserver.reporting.errors.report_error.unknown_query_grouping'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.unknown_query_grouping' ...>
-
lsserver.reporting.errors.report_error.unknown_query_option¶
-
exception
lsserver.reporting.report_base.
UnknownQueryOption
(option) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that an unexpected option was set on a query
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.unknown_query_optionExample: Unknown option id None-
type
= 'lsserver.reporting.errors.report_error.unknown_query_option'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.unknown_query_option' ...>
-
lsserver.reporting.errors.report_error.unsortable_query_column¶
-
exception
lsserver.reporting.report_base.
UnsortableQueryColumn
(column) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the column has a sorting option set, however, the colunm is not sortable.
HTTP code: 400 Bad RequestExample: Column None is not sortable-
type
= 'lsserver.reporting.errors.report_error.unsortable_query_column'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.unsortable_query_column' ...>
-
lsserver.reporting.errors.report_error.wrong_filter_type¶
-
exception
lsserver.reporting.report_base.
WrongFilterType
(filter) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.reporting.report_base.ReportError
Indicates that the specified filter was of the wrong type.
HTTP code: 400 Bad RequestLocalized Key: lsserver.reporting.errors.report_error.wrong_filter_typeExample: Filter None is of the wrong type-
type
= 'lsserver.reporting.errors.report_error.wrong_filter_type'
-
localizable_message
= <LocalizableMessage key='lsserver.reporting.errors.report_error.wrong_filter_type' ...>
-
lsserver.reporting.errors.resource_error.delete_active_run_error¶
-
exception
lsserver.reporting.reporting_resource.
DeleteActiveRunError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.ServerError
,lsserver.reporting.reporting_resource.ReportingResourceError
HTTP code: 500 Internal Server ErrorLocalized Key: server.server_errorExample: Generic server error: None-
type
= 'lsserver.reporting.errors.resource_error.delete_active_run_error'
-
key
= <LocalizableMessage key='lsserver.reporting.errors.resource_error.delete_active_run_error' ...>
-
lsserver.search.errors.invalid_enum_value¶
-
exception
lsserver.search.search_base.
InvalidEnumValue
(value=None, filter=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Invalid value provided for ENUM filter
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.invalid_enum_valueExample: Invalid enum value [] for filter []-
type
= 'lsserver.search.errors.invalid_enum_value'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.invalid_enum_value' ...>
-
lsserver.search.errors.invalid_filter_operator¶
-
exception
lsserver.search.search_base.
InvalidFilterOperator
(filters, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.invalid_filter_operatorExample: A filter in filters [None] has invalid operator given. Please double check your request filters.-
type
= 'lsserver.search.errors.invalid_filter_operator'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.invalid_filter_operator' ...>
-
lsserver.search.errors.invalid_filter_value¶
-
exception
lsserver.search.search_base.
InvalidFilterValue
(filters, **kwargs) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.invalid_filter_valueExample: A filter in filters [None] has invalid value type given. Please double check your request filters.-
type
= 'lsserver.search.errors.invalid_filter_value'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.invalid_filter_value' ...>
-
lsserver.search.errors.invalid_search_operator¶
-
exception
lsserver.search.search_base.
InvalidSearchOperator
(operator=None, filter=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Invalid Search Operator in request
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.invalid_search_operatorExample: Invalid search operator [] for filter []-
type
= 'lsserver.search.errors.invalid_search_operator'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.invalid_search_operator' ...>
-
lsserver.search.errors.invalid_search_type¶
-
exception
lsserver.search.search_base.
InvalidSearchType
(value=None, type=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Invalid value for Search type
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.invalid_search_typeExample: Invalid value [] for type []-
type
= 'lsserver.search.errors.invalid_search_type'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.invalid_search_type' ...>
-
lsserver.search.errors.not_summarized_column¶
-
exception
lsserver.search.search_base.
NotSummarizedColumn
(column=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Column cannot be summarized column
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.not_summarized_columnExample: Column [] cannot be summarized.-
type
= 'lsserver.search.errors.not_summarized_column'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.not_summarized_column' ...>
-
lsserver.search.errors.required_search_column_missing¶
-
exception
lsserver.search.search_base.
RequiredSearchColumnMissing
(columns=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Required column missing in update
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.required_search_column_missingExample: The following columns are missing []-
type
= 'lsserver.search.errors.required_search_column_missing'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.required_search_column_missing' ...>
-
lsserver.search.errors.unknown_search_column¶
-
exception
lsserver.search.search_base.
UnknownSearchColumn
(column=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Unknown Column in request
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.unknown_search_columnExample: Unknown search column in request. []-
type
= 'lsserver.search.errors.unknown_search_column'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.unknown_search_column' ...>
-
lsserver.search.errors.unknown_search_filter¶
-
exception
lsserver.search.search_base.
UnknownSearchFilter
(filter=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.search_base.SearchError
Unknown Search Filter in request
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.errors.unknown_search_filterExample: Unknown search filter in request. []-
type
= 'lsserver.search.errors.unknown_search_filter'
-
localizable_message
= <LocalizableMessage key='lsserver.search.errors.unknown_search_filter' ...>
-
lsserver.search.smart_find.invalid_type¶
-
exception
lsserver.search.smart_find.
SmartFindInvalidType
(id=None, type=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.search.smart_find.SmartFindError
HTTP code: 403 ForbiddenLocalized Key: lsserver.search.smart_find.invalid_typeExample: Smart find id () of type () is invalid.-
type
= 'lsserver.search.smart_find.invalid_type'
-
localizable_message
= <LocalizableMessage key='lsserver.search.smart_find.invalid_type' ...>
-
lsserver.search.smart_find.not_owner¶
-
exception
lsserver.search.smart_find.
SmartFindNotOwner
(name=None, type=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.search.smart_find.SmartFindError
HTTP code: 403 ForbiddenLocalized Key: lsserver.search.smart_find.not_ownerExample: You cannot update a private smart find () that does not belong to you.-
type
= 'lsserver.search.smart_find.not_owner'
-
localizable_message
= <LocalizableMessage key='lsserver.search.smart_find.not_owner' ...>
-
lsserver.search.smart_find.smart_find_duplication_error¶
-
exception
lsserver.search.smart_find.
SmartFindDuplicationError
(name=None, type=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.smart_find.SmartFindError
HTTP code: 400 Bad RequestLocalized Key: lsserver.search.smart_find.smart_find_duplication_errorExample: Cannot have duplicate Smart Find name [] for type [].-
type
= 'lsserver.search.smart_find.smart_find_duplication_error'
-
localizable_message
= <LocalizableMessage key='lsserver.search.smart_find.smart_find_duplication_error' ...>
-
lsserver.setup.id_numbers.number_too_low¶
-
exception
lsserver.setup.id_numbers.
NumberTooLowError
(id_number, number) Bases:
lscore.errors.server_errors.NotAcceptable
,lsserver.setup.id_numbers.IDNumberError
Raised when trying to update the sequence current value to something lower.
Parameters: - id_number (String) – The name of the table id sequence being updated.
- number (Integer) – The new value to update the id sequence.
HTTP code: 406 Not AcceptableLocalized Key: lsserver.setup.id_numbers.number_too_lowExample: ID Number None is too low for None-
type
= 'lsserver.setup.id_numbers.number_too_low'
-
localizable_message
= <LocalizableMessage key='lsserver.setup.id_numbers.number_too_low' ...>
lsserver.setup.tax_status.cant_delete_default_tax_status¶
-
exception
lsserver.setup.tax_status.
DeletingDefaultTaxStatusError
(message=None, **kwargs) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.setup.tax_status.TaxStatusError
HTTP code: 403 ForbiddenLocalized Key: lsserver.setup.tax_status.cant_delete_default_tax_statusExample: You cannot delete the default tax status.-
type
= u'lsserver.setup.tax_status.cant_delete_default_tax_status'
-
localizable_message
= <LocalizableMessage key='lsserver.setup.tax_status.cant_delete_default_tax_status' ...>
-
lsserver.trackers.errors.category_does_not_exist¶
-
exception
lsserver.search.tracker.
TrackerCategoryDoesNotExistError
(invalid_category_name) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.tracker.TrackerError
-
type
= 'lsserver.trackers.errors.category_does_not_exist'
-
lsserver.trackers.not_found¶
-
exception
lsserver.search.tracker.
TrackerNotFound
(id=None, user=None) Bases:
lscore.errors.server_errors.BadRequest
,lsserver.search.tracker.TrackerError
HTTP code: 400 Bad RequestLocalized Key: lsserver.trackers.not_foundExample: Tracker [] for user [] is not found.-
type
= 'lsserver.trackers.not_found'
-
localizable_message
= <LocalizableMessage key='lsserver.trackers.not_found' ...>
-
lsserver.trackers.unknown¶
-
exception
lsserver.search.tracker.
TrackerUnknownType
(name=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.search.tracker.TrackerError
-
type
= 'lsserver.trackers.unknown'
-
localizable_message
= <LocalizableMessage key='lsserver.trackers.unknown' ...>
-
lsserver.user.user_service.invalidated_pin_error¶
-
exception
lsserver.user.user_service.
InvalidatedPinError
(invalidated_pin) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.user.user_service.UserServiceError
HTTP code: 403 ForbiddenLocalized Key: lsserver.user.user_service.invalidated_pin_errorExample: PIN [None] has been Invalidated.-
type
= u'lsserver.user.user_service.invalidated_pin_error'
-
localizable_message
= <LocalizableMessage key='lsserver.user.user_service.invalidated_pin_error' ...>
-
lsserver.validation.duplicate_name¶
-
exception
lsserver.domain_model.model_exceptions.
DuplicateNameError
(type=None, id=None, name=None, caused_by_error=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.domain_model.model_exceptions.ModelError
HTTP code: 403 ForbiddenLocalized Key: lsserver.validation.duplicate_nameExample: A ‘None’ with the name ‘None’ already exists.-
type
= 'lsserver.validation.duplicate_name'
-
localizable_message
= <LocalizableMessage key='lsserver.validation.duplicate_name' ...>
-
lsserver.validation.entry_still_in_use¶
-
exception
lsserver.domain_model.model_exceptions.
EntryStillInUseError
(item_type, item_id, item_id_string, in_use_type=None, in_use_id=None, in_use_id_string=None) Bases:
lscore.errors.server_errors.Forbidden
,lsserver.domain_model.model_exceptions.ModelError
HTTP code: 403 ForbiddenLocalized Key: lsserver.validation.entry_still_in_useExample: None “None” cannot be deleted as it is in use in None “None”-
type
= 'lsserver.validation.entry_still_in_use'
-
localizable_message
= <LocalizableMessage key='lsserver.validation.entry_still_in_use' ...>
-
-
exception
lsserver.setup.payment_method.
PaymentMethodStillInUse
(item_type, item_id, item_id_string) Bases:
lsserver.domain_model.model_exceptions.EntryStillInUseError
,lsserver.setup.payment_method.PaymentMethodError
HTTP code: 403 ForbiddenLocalized Key: payment_method.still_in_useExample: None “None” cannot be deleted as it is in use on one or more documents.-
localizable_message
= <LocalizableMessage key='payment_method.still_in_use' ...>
-
-
exception
lsserver.model.product.
ProductStillInUse
(item_type, item_id, item_id_string, in_use_type=None, in_use_id=None, in_use_id_string=None) Bases:
lsserver.domain_model.model_exceptions.EntryStillInUseError
,lsserver.model.product.ProductError
HTTP code: 403 ForbiddenLocalized Key: lsserver.validation.entry_still_in_useExample: None “None” cannot be deleted as it is in use in None “None”
-
exception
lsserver.model.customer.
CustomerStillInUse
(item_type, item_id, item_id_string, in_use_type=None, in_use_id=None, in_use_id_string=None) Bases:
lsserver.model.customer.CustomerError
,lsserver.domain_model.model_exceptions.EntryStillInUseError
HTTP code: 403 ForbiddenLocalized Key: lsserver.validation.entry_still_in_useExample: None “None” cannot be deleted as it is in use in None “None”
lsserver.validation.entry_still_in_use.sell_on_web_enabled¶
-
exception
lsserver.model.product.
DeleteProductWithWebEnabledError
(item_type, item_id, item_id_string) Bases:
lsserver.model.product.ProductStillInUse
HTTP code: 403 ForbiddenLocalized Key: lsserver.validation.entry_still_in_use.sell_on_web_enabledExample: None “None” cannot be deleted as it is enabled to sell on the web-
type
= u'lsserver.validation.entry_still_in_use.sell_on_web_enabled'
-
localizable_message
= <LocalizableMessage key='lsserver.validation.entry_still_in_use.sell_on_web_enabled' ...>
-