Hook to handle OAuthError in Angular SDK

When the user is not assigned to an Okta group, Okta will give the error “OAuthError: User is not assigned to the client application.”, which is displayed on the OktaCallbackComponent. For React SDK, looks like there is an option for errorComponent (https://github.com/okta/okta-react#errorcomponent)

Is there anything similar for Angular SDK, where the app can show a custom error message instead of showing the default error message?