trustee icon indicating copy to clipboard operation
trustee copied to clipboard

AS: PolicyEngine should differentiate user and internal errors

Open mkulke opened this issue 9 months ago • 0 comments

At the moment we conflate user errors (policy fails to pass, requested policy does not exist) with internal errors (io errors). Signatures and code of those functions should be adapted, so that grpc/http api layers can produce different error codes instead of returning an "internal error" in all cases.

prior discussion

mkulke avatar May 23 '24 11:05 mkulke