Skip to content

How do I configure my own IDataPortalExceptionInspector? #3823

Discussion options

You must be logged in to vote

This is the way to do it in 7.x and 8.x:

new ServiceCollection()
            .AddCsla(
            o => o.DataPortal(
                dpo => dpo.AddServerSideDataPortal(
                    sdo => sdo.RegisterExceptionInspector<YourInspectorhere>()
                    )
                )
            );

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ajohnstone-ks
Comment options

@StefanOssendorf
Comment options

Answer selected by ajohnstone-ks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants