How to Handle the user denying permissions in Studio

Hey there!

Does anyone know how to handle gracefully the user denying permissions? Seems like there is default “Oops something went wrong” screen. Just wondering how to customize that? And what is best practice?