internetee / registry

TLD Management Software
Other
46 stars 19 forks source link

Improve error messages #580

Open artur-intech opened 7 years ago

artur-intech commented 7 years ago

Real-world example of the problem:

Given

Then

Then

Open questions:

teadur commented 7 years ago

In what sitsuation would you get errors like that from contact in real life deployment, epp doesnot allow creating such object, only way to get such an object is from rails console. Or i dont understand the problem correctly ?

artur-intech commented 6 years ago

epp doesnot allow creating such object

What "such"? Contact.new is one of the standard ways to create new contact in our application. The point of this ticket to review all error messages we show to the users (incl. users of our API). I am not sure if there should be some boundary between default ActiveRecord messages and EPP.

P.S. By API I mean the interface our objects provide, not REST API

artur-intech commented 6 years ago

@vohmar Ticket's objective needs your review