node-casbin
node-casbin copied to clipboard
add flag for errors from adapter in internal api
@nodece has suggested to add a flag for getting a not-implemented
error from the adapter.
I have a suggestion, add a flag for receiving all errors, meas if true
we will throw errors even if it's a not-implemented
error.
need a discussion on this.
Originally posted by @nodece in https://github.com/casbin/node-casbin/pull/384#discussion_r967673880
@nodece @Zxilly @Shivansh-yadav13