Renewed logic for error handling

This commit is contained in:
Martin Lensment 2014-08-04 15:10:46 +03:00
parent 86dc8321c6
commit 8dfb80c1ea
5 changed files with 13 additions and 5 deletions

View file

@ -59,7 +59,7 @@ module Epp::DomainsHelper
def handle_errors
super({
'2302' => [:epp_domain_taken, :epp_domain_reserved],
'2306' => [:blank],
'2306' => [:blank, [:out_of_range, {min: 1, max: 13}]],
'2303' => [:epp_contact_not_found]
}, @domain
)