TXDataTenantConnectionPool.HandleTenantExceptions Property
Indicates whether tenancy exceptions are automatically mapped to HTTP error responses.
Remarks
When True, the component maps the tenancy exceptions raised while serving a request to proper HTTP responses: missing tenant to 400, unknown tenant to 404, inactive tenant to 403 (or 404 when AntiEnumeration is True), unavailable shard or catalog to 503. When False, the exceptions follow the standard XData error handling (typically a 500 response), and the application can map them itself in OnModuleException. Defaults to True.
Syntax
Unit: XData.Comp.TenantConnectionPool
property TXDataTenantConnectionPool.HandleTenantExceptions: Boolean