Handle children errors

This commit is contained in:
Martin Lensment 2014-08-05 16:08:31 +03:00
parent 3dca771bcb
commit 9ce6efc4db
8 changed files with 86 additions and 9 deletions

View file

@ -57,10 +57,11 @@ module Epp::DomainsHelper
end
def handle_errors
super({
handle_epp_errors({
'2302' => [:epp_domain_taken, :epp_domain_reserved],
'2306' => [:blank, [:out_of_range, {min: 1, max: 13}]],
'2303' => [:not_found]
'2303' => [:not_found],
'2005' => [:hostname_invalid]
}, @domain
)
end