You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suggest adding response code definitions (constants) for better understanding of the received number. Maybe the Client class would be the best place for this.
In general I think this would be a great addition, but I'd like to to maybe go a further step. Replacing int response codes with classes will greatly improve the readability of the library, however I think we should also improve the way how we return those response codes to the user, e.g. ideally something human readable that can be fetched separately (something like $errno and $errstr)
I wondered about this and it's a bit problematic IMHO. Or rather anti-problematic. Going by EPP standard, registries should return message along with code and do so in client selected language. So the mentioned const/classes May not actually be needed.
What do you think @pavkatar@lifeofguenter ?
I suggest adding response code definitions (constants) for better understanding of the received number. Maybe the Client class would be the best place for this.
Example: (Taken from the other epp library)
The text was updated successfully, but these errors were encountered: