Skip to main content

Questions tagged [error-handling]

Programming language constructs designed to handle errors signaled by error codes, exceptions or other language specific means.

error-handling
-7 votes
0 answers
123 views
+500

How to properly handle internal/external API errors in service-, data- & app layers in Next.js? [closed]

I'm building a Next application with the following layers: lib/service (async server-only functions doing a fetch from an external api and returning the data) data (async server-only functions that ...
Dac0d3r's user avatar
  • 1,311