How the server can notify the client that the subcription failed due to a specific error?

Based on the documentation, SubscriptionException will not notify the clients even if it was thrown,...