Jump to content

rinomite

Member
  • Posts

    1
  • Joined

  • Last visited

rinomite's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. As a developer myself, you are incorrect sir. If you are trying to access an endpoint (say, /login for example) and you get back an error, you can investigate the error (using code, of course) to present a message that's usable to the user (proper UX). It would make these forums a lot less cluttered. Something like... try { results = await request.post("/login", params); token = results.token; continue(); } catch (HttpException ex) { if (ex.status == 500) { print("Server Unavailable"); } else { print(ex.message); } }
×
×
  • Create New...