Open Kilerd opened 3 years ago
Hi @Kilerd , can you make a PR to fix it?
@Kilerd good suggstion. We will implement it in next version release
@smrpn
so any idea how to implement it?
seems there are a lot scenarios to emit error? can someone just classify them into groups?
@SiddheshKanawade plz work on this
/cc @hackerchai
Ok
for now the middleware use original error page built in actix-web,like
but for some cases, we wanna keep the error message having the same structured response like other error type. so maybe add some fields in
CasbinService
to config the response of error payload?