docs: Fix wrong policy explanation module in docs. (#465)

This commit is contained in:
Mariusz Morawski 2022-12-20 09:19:01 +01:00 committed by GitHub
parent c8eb27050d
commit 70b6a52b08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -252,7 +252,7 @@ Additionally, some checks have more expensive components that can't be checked b
## Explanation
Policy breakdowns can be fetched on demand for a given forbidden error (either an `Ash.Error.Forbidden` that contains one ore more `Ash.Error.Forbidden.Policy`
errors, or an `Ash.Error.Forbidden.Policy` error itself), via `Ash.Policy.Forbidden.Error.report/2`.
errors, or an `Ash.Error.Forbidden.Policy` error itself), via `Ash.Error.Forbidden.Policy.report/2`.
Here is an example policy breakdown from tests: