Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Introduced base class FeastError for all Feast exceptions #4465

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

dmartinol
Copy link
Contributor

What this PR does / why we need it:

  • Initial refactory of Feast error classes to support Remote registry client does not map application errors #4392
  • Introduced FeastPermissionError as a custom PermissionError
  • Added initial methods to map the grpc and HTTP status code: defaults to internal error and overridden only for FeastObjectNotFoundException and FeastPermissionError

Which issue(s) this PR fixes:

In preparation for #4392

…al methods to map the grpc and HTTP status code

Signed-off-by: Daniele Martinoli <[email protected]>
@dmartinol
Copy link
Contributor Author

@tokoko tokoko merged commit 5e753e4 into feast-dev:master Aug 29, 2024
21 checks passed
dmartinol added a commit to dmartinol/feast that referenced this pull request Aug 29, 2024
…east-dev#4465)

introduced base class FeastError for all Feast exceptions, with initial methods to map the grpc and HTTP status code

Signed-off-by: Daniele Martinoli <[email protected]>
lokeshrangineni pushed a commit to lokeshrangineni/feast that referenced this pull request Aug 29, 2024
…east-dev#4465)

introduced base class FeastError for all Feast exceptions, with initial methods to map the grpc and HTTP status code

Signed-off-by: Daniele Martinoli <[email protected]>
Signed-off-by: Lokesh Rangineni <[email protected]>
tokoko pushed a commit that referenced this pull request Aug 30, 2024
* initial commit targetting grpc registry server

Signed-off-by: Daniele Martinoli <[email protected]>

* refactor: Introduced base class FeastError for all Feast exceptions (#4465)

introduced base class FeastError for all Feast exceptions, with initial methods to map the grpc and HTTP status code

Signed-off-by: Daniele Martinoli <[email protected]>

* initial commit targetting grpc registry server

Signed-off-by: Daniele Martinoli <[email protected]>

* fixed merge error

Signed-off-by: Daniele Martinoli <[email protected]>

* initial commit targetting grpc registry server

Signed-off-by: Daniele Martinoli <[email protected]>

* fixed merge error

Signed-off-by: Daniele Martinoli <[email protected]>

* integrated comment

Signed-off-by: Daniele Martinoli <[email protected]>

* moved imports as per comment

Signed-off-by: Daniele Martinoli <[email protected]>

---------

Signed-off-by: Daniele Martinoli <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants