reva
reva copied to clipboard
Incorrect status code in share-create
When the same share is created twice, reva returns "code: CODE_INTERNAL message: "error creating share" trace: "a3120392e3bde58291615b89181acebe". Could we use more explicit status code like CODE_ALREADY_EXISTS and more detailed message info?
The same applies to:
- creating ocm share twice
- removing share that does not exist
- updating ocm share that does not exist
Please adjust error codes to more proper ones
@gmgigi96