mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 19:48:28 +02:00
Refactor EPP Errors once again
This commit is contained in:
parent
6ab58767c3
commit
a740ed34f3
7 changed files with 74 additions and 32 deletions
|
@ -41,7 +41,7 @@ module Epp::Common
|
|||
def handle_errors(obj = nil)
|
||||
@errors ||= []
|
||||
if obj
|
||||
obj.construct_epp_errors
|
||||
obj.generate_epp_errors
|
||||
@errors += obj.errors[:epp_errors]
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue