-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error messages #580
Comments
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. |
What "such"? P.S. By API I mean the interface our objects provide, not REST API |
@vohmar Ticket's objective needs your review |
Real-world example of the problem:
Given
contacts.country_code
(which contains postal address country code) has some value that has lost its validity over time (ISO 3166-1 alpha-2 may be deleted or reassigned)When
Then
Postal address country code in our database in invalid. Please provide us valid data to proceed
("database" should be substituted with some abstract meaning)
When
Then
Submitted postal address country code in invalid
Same principle should apply to any attribute of a domain or contact.
Open questions:
rails c
) or it's needed to decouple EPP and ActiveRecord messages.Currently ActiveRecord messages are hard to read:
The text was updated successfully, but these errors were encountered: