mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
Handle children errors
This commit is contained in:
parent
3dca771bcb
commit
9ce6efc4db
8 changed files with 86 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue