File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
stapi-fastapi/src/stapi_fastapi/routers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3434)
3535
3636from stapi_fastapi .constants import TYPE_JSON
37- from stapi_fastapi .errors import QueryablesError , NotFoundError
37+ from stapi_fastapi .errors import NotFoundError , QueryablesError
3838from stapi_fastapi .models .product import Product
3939from stapi_fastapi .responses import GeoJSONResponse
4040from stapi_fastapi .routers .route_names import (
Original file line number Diff line number Diff line change @@ -439,7 +439,7 @@ async def get_opportunity_search_record_statuses(
439439 case Success (Some (search_record_statuses )):
440440 return search_record_statuses # type: ignore
441441 case Success (Maybe .empty ):
442- raise NotFoundException ("Opportunity Search Record not found" )
442+ raise NotFoundError ("Opportunity Search Record not found" )
443443 case Failure (e ):
444444 logger .error (
445445 "An error occurred while retrieving opportunity search record statuses '%s': %s" ,
You can’t perform that action at this time.
0 commit comments