through the way i'm handling error here are definetly bad i 'think
u could be more specific about the error ig like an http exception or something similar but thats fine lol cause here there isnt too many different ways u can handle the error obvious ones that comes to mind are network issue and invalid credentials and both here would have a similar handling