mirror of
https://github.com/internetee/epp_proxy.git
synced 2025-08-21 22:50:48 +02:00
Introduce error 2000
When a client sends invalid command to proxy, it should be reported as error 2000 and sent to registry. We should sent them there regardless
This commit is contained in:
parent
98483daccd
commit
203e119c2c
6 changed files with 86 additions and 24 deletions
|
@ -9,3 +9,14 @@
|
|||
}).
|
||||
|
||||
-type epp_request() :: #epp_request{}.
|
||||
|
||||
|
||||
-define(XMLErrorCode, <<"2001">>).
|
||||
|
||||
-define(XMLErrorMessage, <<"Command syntax error.">>).
|
||||
|
||||
-define(UnknownCommandErrorCode, <<"2000">>).
|
||||
|
||||
-define(UnknownCommandErrorMessage, <<"Unknown command.">>).
|
||||
|
||||
-define(DefaultTimeout, 120000).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue