mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
Renewed logic for error handling
This commit is contained in:
parent
86dc8321c6
commit
8dfb80c1ea
5 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue