2

I have a website called mysite.com with a Payment API like Stripe. I am building an SDK, and trying to figure out the proper names for NSError error domains. Any SDK errors (i.e client-side validation errors) are in the MySiteSDKDomain. Any site API errors (errors from mysite.com) are in the MySiteAPIDomain.

What is the convention for these NSError domain names?

jscs
  • 63,694
  • 13
  • 151
  • 195
Kermit the Frog
  • 3,949
  • 7
  • 31
  • 39

0 Answers0