| 91 | |
| 92 | |
| 93 | class FeastObjectNotFoundException(FeastError): |
| 94 | pass |
| 95 | |
| 96 | def grpc_status_code(self) -> "GrpcStatusCode": |
| 97 | from grpc import StatusCode as GrpcStatusCode |
| 98 | |
| 99 | return GrpcStatusCode.NOT_FOUND |
| 100 | |
| 101 | def http_status_code(self) -> int: |
| 102 | return HttpStatusCode.HTTP_404_NOT_FOUND |
| 103 | |
| 104 | |
| 105 | class EntityNotFoundException(FeastObjectNotFoundException): |
no outgoing calls